diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index 8b0bc695d213..a239660e082a 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -2178,9 +2178,6 @@ def print_figure( dpi = getattr(self.figure, '_original_dpi', self.figure.dpi) # Remove the figure manager, if any, to avoid resizing the GUI widget. - # Some code (e.g. Figure.show) differentiates between having *no* - # manager and a *None* manager, which should be fixed at some point, - # but this should be fine. with cbook._setattr_cm(self, manager=None), \ cbook._setattr_cm(self.figure, dpi=dpi), \ cbook._setattr_cm(canvas, _is_saving=True):