matplotlib 3.5.1

Notes

This class is not an artist itself. The :None:None:`__call__` method returns the ~matplotlib.path.Path for outlining the fancy box. The actual drawing is handled in .FancyBboxPatch .

Subclasses may only use parameters with default values in their __init__ method because they must be able to be initialized without arguments.

Subclasses must implement the :None:None:`__call__` method. It receives the enclosing rectangle x0, y0, width, height as well as the mutation_size, which scales the outline properties such as padding. It returns the outline of the fancy box as .path.Path .

Notes

deprecated

[*Deprecated*] Abstract base class for styling of .FancyBboxPatch .

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/patches.py#2236
type: <class 'type'>
Commit: