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

Skip to content

Commit 7234ae3

Browse files
authored
Merge pull request #14047 from dstansby/patch-doc-draw
Remove references to "Draws" in matplotlib.patches
2 parents 95f6280 + 792fdd8 commit 7234ae3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/patches.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def draw(self, renderer):
658658

659659
class Rectangle(Patch):
660660
"""
661-
Draw a rectangle with lower left at *xy* = (*x*, *y*) with
661+
A rectangle with lower left at *xy* = (*x*, *y*) with
662662
specified *width*, *height* and rotation *angle*.
663663
"""
664664

@@ -1048,7 +1048,7 @@ def __str__(self):
10481048
@docstring.dedent_interpd
10491049
def __init__(self, center, r, theta1, theta2, width=None, **kwargs):
10501050
"""
1051-
Draw a wedge centered at *x*, *y* center with radius *r* that
1051+
A wedge centered at *x*, *y* center with radius *r* that
10521052
sweeps *theta1* to *theta2* (in degrees). If *width* is given,
10531053
then a partial wedge is drawn from inner radius *r* - *width*
10541054
to outer radius *r*.
@@ -2437,7 +2437,7 @@ def transmute(self, x0, y0, width, height, mutation_size):
24372437

24382438
class FancyBboxPatch(Patch):
24392439
"""
2440-
Draw a fancy box around a rectangle with lower left at *xy*=(*x*,
2440+
A fancy box around a rectangle with lower left at *xy*=(*x*,
24412441
*y*) with specified width and height.
24422442
24432443
:class:`FancyBboxPatch` class is similar to :class:`Rectangle`

0 commit comments

Comments
 (0)