From e11caff0292a690f3dac424b4235e82a35f0bbde Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 5 Dec 2017 16:20:06 +0000 Subject: [PATCH] Fix Rectange.get_bbox() --- lib/matplotlib/patches.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index e42280f6e29c..c6390a371c89 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -798,8 +798,7 @@ def set_bounds(self, *args): def get_bbox(self): x0, y0, x1, y1 = self._convert_units() - return transforms.Bbox.from_extents(self._x0, self._y0, - self._x1, self._y1) + return transforms.Bbox.from_extents(x0, y0, x1, y1) xy = property(get_xy, set_xy)