Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c7a6f6

Browse files
authored
Merge pull request #20427 from anntzer/ars
Fix references in ArrowStyle docstring.
2 parents 02f2ea7 + 71d0e86 commit 3c7a6f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/patches.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3151,7 +3151,6 @@ class _Base:
31513151
value indicating the path is open therefore is not fillable. This
31523152
class is not an artist and actual drawing of the fancy arrow is
31533153
done by the FancyArrowPatch class.
3154-
31553154
"""
31563155

31573156
# The derived classes are required to be able to be initialized
@@ -3161,10 +3160,11 @@ class is not an artist and actual drawing of the fancy arrow is
31613160
@staticmethod
31623161
def ensure_quadratic_bezier(path):
31633162
"""
3164-
Some ArrowStyle class only works with a simple quadratic Bezier
3165-
curve (created with Arc3Connection or Angle3Connector). This static
3166-
method is to check if the provided path is a simple quadratic
3167-
Bezier curve and returns its control points if true.
3163+
Some ArrowStyle classes only works with a simple quadratic
3164+
Bezier curve (created with `.ConnectionStyle.Arc3` or
3165+
`.ConnectionStyle.Angle3`). This static method checks if the
3166+
provided path is a simple quadratic Bezier curve and returns its
3167+
control points if true.
31683168
"""
31693169
segments = list(path.iter_segments())
31703170
if (len(segments) != 2 or segments[0][1] != Path.MOVETO or

0 commit comments

Comments
 (0)