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

Skip to content

Commit b5b4ad9

Browse files
committed
Mark rotation as optional
1 parent 26491e9 commit b5b4ad9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ def __str__(self):
14071407
return fmt % pars
14081408

14091409
@docstring.dedent_interpd
1410-
def __init__(self, xy, width, height, angle=0.0, **kwargs):
1410+
def __init__(self, xy, width, height, angle=0, **kwargs):
14111411
"""
14121412
Parameters
14131413
----------
@@ -1417,7 +1417,7 @@ def __init__(self, xy, width, height, angle=0.0, **kwargs):
14171417
Total length (diameter) of horizontal axis.
14181418
height : scalar
14191419
Total length (diameter) of vertical axis.
1420-
angle : scalar
1420+
angle : scalar, optional
14211421
Rotation in degrees anti-clockwise.
14221422
14231423
Notes

0 commit comments

Comments
 (0)