(x, y) coordinates of arrow tail and arrow head respectively.
Path
, default: None
If provided, an arrow is drawn along this path and patchA, patchB, shrinkA, and shrinkB are ignored.
ArrowStyle
, default: 'simple'
Class Name Attrs CurveThe
ArrowStyle
with which the fancy arrow is drawn. If a string, it should be one of the available arrowstyle names, with optional comma-separated attributes. The optional attributes are meant to be scaled with the mutation_scale. The following arrow styles are available:
-
None CurveB ->
head_length=0.4, head_width=0.2 BracketB -[
widthB=1.0, lengthB=0.2, angleB=None CurveFilledB -|>
head_length=0.4, head_width=0.2 CurveA <-
head_length=0.4, head_width=0.2 CurveAB <->
head_length=0.4, head_width=0.2 CurveFilledA <|-
head_length=0.4, head_width=0.2 CurveFilledAB <|-|>
head_length=0.4, head_width=0.2 BracketA ]-
widthA=1.0, lengthA=0.2, angleA=None BracketAB ]-[
widthA=1.0, lengthA=0.2, angleA=None, widthB=1.0, lengthB=0.2, angleB=None Fancy fancy
head_length=0.4, head_width=0.4, tail_width=0.4 Simple simple
head_length=0.5, head_width=0.5, tail_width=0.2 Wedge wedge
tail_width=0.3, shrink_factor=0.5 BarAB |-|
widthA=1.0, angleA=None, widthB=1.0, angleB=None
ConnectionStyle
or None, optional, default: 'arc3'
Class Name Attrs AngleThe
ConnectionStyle
with which posA and posB are connected. If a string, it should be one of the available connectionstyle names, with optional comma-separated attributes. The following connection styles are available:
angle
angleA=90, angleB=0, rad=0.0 Angle3 angle3
angleA=90, angleB=0 Arc arc
angleA=0, angleB=0, armA=None, armB=None, rad=0.0 Arc3 arc3
rad=0.0 Bar bar
armA=0.0, armB=0.0, fraction=0.3, angle=None
Patch
, default: None
Head and tail patches, respectively.
Shrinking factor of the tail and head of the arrow respectively.
Value with which attributes of arrowstyle (e.g., head_length) will be scaled.
The height of the rectangle will be squeezed by this value before the mutation and the mutated box will be stretched by the inverse of it.
dpi_cor is currently used for linewidth-related things and shrink factor. Mutation scale is affected by this.
Patch
properties, optional
Here is a list of available Patch
properties:
agg_filter
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array alpha
float or None animated
bool antialiased
or aa unknown capstyle
{'butt', 'round', 'projecting'} clip_box
Bbox
clip_on
bool clip_path
Patch or (Path, Transform) or None color
color contains
unknown edgecolor
or ec color or None or 'auto' facecolor
or fc color or None figure
Figure
fill
bool gid
str hatch
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'} in_layout
bool joinstyle
{'miter', 'round', 'bevel'} label
object linestyle
or ls {'-', '--', '-.', ':', '', (offset, on-off-seq), ...} linewidth
or lw float or None path_effects
AbstractPathEffect
picker
None or bool or callable rasterized
bool or None sketch_params
(scale: float, length: float, randomness: float) snap
bool or None transform
Transform
url
str visible
bool zorder
float
In contrast to other patches, the default capstyle
and joinstyle
for FancyArrowPatch
are set to "round"
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4