Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5b4ad9

Browse filesBrowse files
committed
Mark rotation as optional
1 parent 26491e9 commit b5b4ad9
Copy full SHA for b5b4ad9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/patches.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.