8000 Backport PR #13771: patches.Arc docstring update #13759 · meeseeksmachine/matplotlib@13d0b04 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13d0b04

Browse files
timhoffmMeeseeksDev[bot]
authored andcommitted
Backport PR matplotlib#13771: patches.Arc docstring update matplotlib#13759
1 parent 5999431 commit 13d0b04

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
@@ -1608,13 +1608,17 @@ def __init__(self, xy, width, height, angle=0.0,
16081608
The length of the vertical axis.
16091609
16101610
angle : float
1611-
Rotation of the ellipse in degrees (anti-clockwise).
1611+
Rotation of the ellipse in degrees (counterclockwise).
16121612
16131613
theta1, theta2 : float, optional
16141614
Starting and ending angles of the arc in degrees. These values
1615-
are relative to *angle*, .e.g. if *angle* = 45 and *theta1* = 90
1615+
are relative to *angle*, e.g. if *angle* = 45 and *theta1* = 90
16161616
the absolute starting angle is 135.
16171617
Default *theta1* = 0, *theta2* = 360, i.e. a complete ellipse.
1618+
The arc is drawn in the counterclockwise direction.
1619+
Angles greater than or equal to 360, or smaller than 0, are
1620+
represented by an equivalent angle in the range [0, 360), by
1621+
taking the input value mod 360.
16181622
16191623
Other Parameters
16201624
----------------

0 commit comments

Comments
 (0)
0