graphinglib.Text.add_arrow#
- Text.add_arrow(points_to: tuple[float, float], width: float | None = None, shrink: float | None = None, head_width: float | None = None, head_length: float | None = None) None [source]#
Adds an arrow pointing from the
Text
to a specified point.- Parameters:
- points_to: tuple[float, float]
Coordinates at which to point.
- widthfloat, optional
Arrow width.
- shrinkfloat, optional
Fraction of the total length of the arrow to shrink from both ends. A value of 0.5 means the arrow is no longer visible.
- head_widthfloat, optional
Width of the head of the arrow.
- head_lengthfloat, optional
Length of the head of the arrow.