matplotlib 3.5.1

Parameters
__init__(self, offset=(2, -2), shadow_color='k', alpha=0.3, rho=0.3, **kwargs)

Parameters

offset : (float, float), default: (2, -2)

The (x, y) offset to apply to the path, in points.

shadow_color : color, default: 'black'

The shadow color. A value of None takes the original artist's color with a scale factor of rho.

alpha : float, default: 0.3

The alpha transparency of the created shadow patch.

rho : float, default: 0.3

A scale factor to apply to the rgbFace color if shadow_color is None .

**kwargs :

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

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/patheffects.py#292
type: <class 'function'>
Commit: