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

Skip to content

Remove references to "Draws" in matplotlib.patches #14047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/matplotlib/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def draw(self, renderer):

class Rectangle(Patch):
"""
Draw a rectangle with lower left at *xy* = (*x*, *y*) with
A rectangle with lower left at *xy* = (*x*, *y*) with
specified *width*, *height* and rotation *angle*.
"""

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

class FancyBboxPatch(Patch):
"""
Draw a fancy box around a rectangle with lower left at *xy*=(*x*,
A fancy box around a rectangle with lower left at *xy*=(*x*,
*y*) with specified width and height.

:class:`FancyBboxPatch` class is similar to :class:`Rectangle`
Expand Down