xoa.plot.add_shadow
- xoa.plot.add_shadow(objs, width=3, xoffset=2, yoffset=-2, alpha=0.5, color='k', zorder=None, ax=None, add=True)[source]
Add a drop-shadow to objects
- Parameters:
objs (
matplotlib.artist.Artist
) – Plotted objects.width (optional) – Width of the gaussian filter in points.
xoffset (optional) – Shadow offset along X in points.
yoffset (optional) – Shadow offset along Y in points.
color (optional) – Color of the shadow.
zorder (optional) – zorder (else guess from
objs
).ax (optional,
matplotlib.axes.Axes
) –http (Inspired from) –