Spines are the lines connecting the axis tick marks and noting the boundaries of the data area. They can be placed at arbitrary positions. See ~.Spine.set_position
for more information.
The default position is ('outward', 0)
.
Spines are subclasses of .Patch
, and inherit much of their behavior.
Spines draw a line, a circle, or an arc depending if ~.Spine.set_patch_line
, ~.Spine.set_patch_circle
, or ~.Spine.set_patch_arc
has been called. Line-like is the default.
An axis spine -- the line noting the data area boundaries.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.spines.Spines
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