8000 refined description for patches.Arc mechanism · matplotlib/matplotlib@6aa5fde · GitHub
[go: up one dir, main page]

Skip to content

Commit 6aa5fde

Browse files
refined description for patches.Arc mechanism
1 parent 4b1e017 commit 6aa5fde

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/patches.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,10 +1605,9 @@ def __init__(self, xy, width, height, angle=0.0,
16051605
the absolute starting angle is 135.
16061606
Default *theta1* = 0, *theta2* = 360, i.e. a complete ellipse.
16071607
The arc is drawn in the counterclockwise direction.
1608-
Negative angles are valid, and increase negatively in the clockwise
1609-
direction.
1610-
Angles greater than 360 or smaller than -360 are represented by an
1611-
equivalent angle in the range (-360, 360).
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.
16121611
16131612
Other Parameters
16141613
----------------

0 commit comments

Comments
 (0)
0