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 31e851a

Browse filesBrowse files
authored
Merge pull request #9933 from dstansby/rect-patch
Fix Rectange.get_bbox()
2 parents aad9759 + e11caff commit 31e851a
Copy full SHA for 31e851a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-2
lines changed

‎lib/matplotlib/patches.py

Copy file name to clipboardExpand all lines: lib/matplotlib/patches.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,7 @@ def set_bounds(self, *args):
798798

799799
def get_bbox(self):
800800
x0, y0, x1, y1 = self._convert_units()
801-
return transforms.Bbox.from_extents(self._x0, self._y0,
802-
self._x1, self._y1)
801+
return transforms.Bbox.from_extents(x0, y0, x1, y1)
803802

804803
xy = property(get_xy, set_xy)
805804

0 commit comments

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