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.
2 parents 7303d81 + b699b87 commit ae47ad2Copy full SHA for ae47ad2
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