matplotlib 3.5.1

Parameters
__init__(self, head_length=0.4, head_width=0.2, widthA=1.0, widthB=1.0, lengthA=0.2, lengthB=0.2, angleA=0, angleB=0, scaleA=None, scaleB=None)

Parameters

head_length : float, default: 0.4

Length of the arrow head, relative to mutation_scale.

head_width : float, default: 0.2

Width of the arrow head, relative to mutation_scale.

widthA : float, default: 1.0

Width of the bracket at the beginning of the arrow

widthB : float, default: 1.0

Width of the bracket at the end of the arrow

lengthA : float, default: 0.2

Length of the bracket at the beginning of the arrow

lengthB : float, default: 0.2

Length of the bracket at the end of the arrow

angleA : float, default 0

Orientation of the bracket at the beginning, as a counterclockwise angle. 0 degrees means perpendicular to the line.

angleB : float, default 0

Orientation of the bracket at the beginning, as a counterclockwise angle. 0 degrees means perpendicular to the line.

scaleA : float, default *mutation_size*

The mutation_size for the beginning bracket

scaleB : float, default *mutation_size*

The mutation_size for the end bracket

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#3214
type: <class 'function'>
Commit: