Skip to content

Commit bce5be8

Browse files
marbled-toastmeeseeksmachine
authored andcommitted
Backport PR #26317: update the doc string for fancyarrowpatch to link to annotate
1 parent 0d45900 commit bce5be8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/matplotlib/patches.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4029,7 +4029,11 @@ def get_bbox(self):
40294029

40304030
class FancyArrowPatch(Patch):
40314031
"""
4032-
A fancy arrow patch. It draws an arrow using the `ArrowStyle`.
4032+
A fancy arrow patch.
4033+
4034+
It draws an arrow using the `ArrowStyle`. It is primarily used by the
4035+
`~.axes.Axes.annotate` method. For most purposes, use the annotate method for
4036+
drawing arrows.
40334037
40344038
The head and tail positions are fixed at the specified start and end points
40354039
of the arrow, but the size and shape (in display coordinates) of the arrow

0 commit comments

Comments
 (0)