Skip to content

Commit 3212f07

Browse files
authored
Merge pull request #13771 from NicolasCourtemancheAtMcGill/patchesArc-docstring
patches.Arc docstring update #13759
2 parents 2829d51 + 5357f70 commit 3212f07

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/matplotlib/patches.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,13 +1597,17 @@ def __init__(self, xy, width, height, angle=0.0,
15971597
The length of the vertical axis.
15981598
15991599
angle : float
1600-
Rotation of the ellipse in degrees (anti-clockwise).
1600+
Rotation of the ellipse in degrees (counterclockwise).
16011601
16021602
theta1, theta2 : float, optional
16031603
Starting and ending angles of the arc in degrees. These values
1604-
are relative to *angle*, .e.g. if *angle* = 45 and *theta1* = 90
1604+
are relative to *angle*, e.g. if *angle* = 45 and *theta1* = 90
16051605
the absolute starting angle is 135.
16061606
Default *theta1* = 0, *theta2* = 360, i.e. a complete ellipse.
1607+
The arc is drawn in the counterclockwise direction.
1608+
Angles greater than or equal to 360, or smaller than 0, are
1609+
represented by an equivalent angle in the range [0, 360), by
1610+
taking the input value mod 360.
16071611
16081612
Other Parameters
16091613
----------------

0 commit comments

Comments
 (0)