Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f6908 commit b699b87Copy full SHA for b699b87
1 file changed
lib/matplotlib/backend_bases.py
@@ -2178,9 +2178,6 @@ def print_figure(
2178
dpi = getattr(self.figure, '_original_dpi', self.figure.dpi)
2179
2180
# 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.
2184
with cbook._setattr_cm(self, manager=None), \
2185
cbook._setattr_cm(self.figure, dpi=dpi), \
2186
cbook._setattr_cm(canvas, _is_saving=True):
0 commit comments