import matplotlib.pyplot as plt
from mpl_visual_context.patheffects import FillOnly, ImageEffect
from mpl_visual_context.image_effect import LightSource # Example image filter

fig, ax = plt.subplots()

# Original for comparison
p1 = plt.Circle((0.25, 0.5), 0.2, fc="r", ec="k", label="Original")
ax.add_patch(p1)

# With ImageEffect
p2 = plt.Circle((0.75, 0.5), 0.2, fc="r", ec="k", label="With ImageEffect (LightSource)")
ax.add_patch(p2)

# Apply FillOnly, then ImageEffect with a LightSource filter
light_effect = FillOnly() | ImageEffect(LightSource(erosion_size=5, gaussian_size=10))
p2.set_path_effects([light_effect])
ax.legend()
plt.show()