matplotlib 3.5.1

Parameters
set_data(self, *, x=None, y=None, dx=None, dy=None, width=None, head_width=None, head_length=None)

Parameters

x, y : float or None, default: None

The x and y coordinates of the arrow base.

dx, dy : float or None, default: None

The length of the arrow along x and y direction.

width: float or None, default: None :

Width of full arrow tail.

head_width: float or None, default: None :

Total width of the full arrow head.

head_length: float or None, default: None :

Length of arrow head.

Set .FancyArrow x, y, dx, dy, width, head_with, and head_length. Values left as None will not be updated.

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