mpl.patheffects.SimpleLineShadow.__init__

SimpleLineShadow.__init__(offset=(2, -2), shadow_color=u'k', alpha=0.3, rho=0.3, **kwargs)[source]
Parameters:

offset : pair of floats

The offset to apply to the path, in points.

shadow_color : color

The shadow color. Default is black. A value of None takes the original artist’s color with a scale factor of rho.

alpha : float

The alpha transparency of the created shadow patch. Default is 0.3.

rho : float

A scale factor to apply to the rgbFace color if shadow_rgbFace is None. Default is 0.3.

**kwargs

Extra keywords are stored and passed through to AbstractPathEffect._update_gc().