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

Skip to content

Commit a49ff0e

Browse files
authored
Merge pull request #13806 from meeseeksmachine/auto-backport-of-pr-13771-on-v3.1.x
Backport PR #13771 on branch v3.1.x (patches.Arc docstring update #13759)
2 parents 4aeef7a + 13d0b04 commit a49ff0e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

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)