Skip to content

Commit 3fb64a5

Browse files
committed
Undeprecate Polygon.xy from #11299
1 parent 40327be commit 3fb64a5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/matplotlib/patches.py

+2-7
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)