From 3fb64a54beba862368104d1186ae14664ef42e46 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 29 May 2018 00:11:10 +0200 Subject: [PATCH] Undeprecate Polygon.xy from #11299 --- lib/matplotlib/patches.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 2d7d609dc50d..214284667b66 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -1000,13 +1000,8 @@ def set_xy(self, xy): _get_xy = get_xy _set_xy = set_xy - xy = property( - cbook.deprecated("3.0")(get_xy), cbook.deprecated("3.0")(set_xy), - doc="""Set/get the vertices of the polygon. This property is - provided for backward compatibility with matplotlib 0.91.x - only. New code should use - :meth:`~matplotlib.patches.Polygon.get_xy` and - :meth:`~matplotlib.patches.Polygon.set_xy` instead.""") + xy = property(get_xy, set_xy, + doc='The vertices of the path as (N, 2) numpy array.') class Wedge(Patch):