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 26491e9

Browse filesBrowse files
committed
Convert Ellipse docstring to numpydoc
1 parent 5a3da1f commit 26491e9
Copy full SHA for 26491e9

File tree

Expand file treeCollapse file tree

1 file changed

+13
-12
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-12
lines changed

‎lib/matplotlib/patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/patches.py
+13-12Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,19 +1409,20 @@ def __str__(self):
14091409
@docstring.dedent_interpd
14101410
def __init__(self, xy, width, height, angle=0.0, **kwargs):
14111411
"""
1412-
*xy*
1413-
center of ellipse
1414-
1415-
*width*
1416-
total length (diameter) of horizontal axis
1417-
1418-
*height*
1419-
total length (diameter) of vertical axis
1420-
1421-
*angle*
1422-
rotation in degrees (anti-clockwise)
1412+
Parameters
1413+
----------
1414+
xy : tuple of (scalar, scalar)
1415+
xy coordinates of ellipse centre.
1416+
width : scalar
1417+
Total length (diameter) of horizontal axis.
1418+
height : scalar
1419+
Total length (diameter) of vertical axis.
1420+
angle : scalar
1421+
Rotation in degrees anti-clockwise.
14231422
1424-
Valid kwargs are:
1423+
Notes
1424+
-----
1425+
Valid keyword arguments are
14251426
%(Patch)s
14261427
"""
14271428
Patch.__init__(self, **kwargs)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.