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 3fb64a5

Browse filesBrowse files
committed
Undeprecate Polygon.xy from #11299
1 parent 40327be commit 3fb64a5
Copy full SHA for 3fb64a5

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-7
lines changed

‎lib/matplotlib/patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/patches.py
+2-7Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,13 +1000,8 @@ def set_xy(self, xy):
10001000

10011001
_get_xy = get_xy
10021002
_set_xy = set_xy
1003-
xy = property(
1004-
cbook.deprecated("3.0")(get_xy), cbook.deprecated("3.0")(set_xy),
1005-
doc="""Set/get the vertices of the polygon. This property is
1006-
provided for backward compatibility with matplotlib 0.91.x
1007-
only. New code should use
1008-
:meth:`~matplotlib.patches.Polygon.get_xy` and
1009-
:meth:`~matplotlib.patches.Polygon.set_xy` instead.""")
1003+
xy = property(get_xy, set_xy,
1004+
doc='The vertices of the path as (N, 2) numpy array.')
10101005

10111006

10121007
class Wedge(Patch):

0 commit comments

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