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 b699b87

Browse filesBrowse files
committed
Remove outdate comment about canvases with no manager attribute.
They don't occur anymore since 3ccc17b.
1 parent 85f6908 commit b699b87
Copy full SHA for b699b87

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,9 +2178,6 @@ def print_figure(
21782178
dpi = getattr(self.figure, '_original_dpi', self.figure.dpi)
21792179

21802180
# Remove the figure manager, if any, to avoid resizing the GUI widget.
2181-
# Some code (e.g. Figure.show) differentiates between having *no*
2182-
# manager and a *None* manager, which should be fixed at some point,
2183-
# but this should be fine.
21842181
with cbook._setattr_cm(self, manager=None), \
21852182
cbook._setattr_cm(self.figure, dpi=dpi), \
21862183
cbook._setattr_cm(canvas, _is_saving=True):

0 commit comments

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