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 87bac9d

Browse filesBrowse files
committed
Split long line.
1 parent 0220351 commit 87bac9d
Copy full SHA for 87bac9d

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎lib/matplotlib/image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/image.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ def __init__(self, ax,
576576

577577
def get_window_extent(self, renderer=None):
578578
x0, x1, y0, y1 = self._extent
579-
return Bbox.from_extents([x0, y0, x1, y1]).transformed(self.axes.transData)
579+
bbox = Bbox.from_extents([x0, y0, x1, y1])
580+
return bbox.transformed(self.axes.transData)
580581

581582
def make_image(self, magnification=1.0):
582583
if self._A is None:

0 commit comments

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