matplotlib.patches.
Arrow
(x, y, dx, dy, width=1.0, **kwargs)[source]¶Bases: matplotlib.patches.Patch
An arrow patch.
Draws an arrow from (x, y) to (x + dx, y + dy). The width of the arrow is scaled by width.
Parameters: | x : scalar
y : scalar
dx : scalar
dy : scalar
width : scalar, optional (default: 1)
**kwargs :
|
---|
See also
FancyArrow
get_patch_transform
()[source]¶Return the Transform
instance which
takes patch coordinates to data coordinates.
For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5.