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 8e53cab commit ac06b2aCopy full SHA for ac06b2a
mpl_gui/_promotion.py
@@ -87,13 +87,6 @@ def _destroy(event):
87
mgr._destroy_cid = None
88
# close the window
89
mgr.destroy()
90
- # disconnect the manager from the canvas
91
- fig.canvas.manager = None
92
- # reset the dpi
93
- fig.dpi = getattr(fig, "_original_dpi", fig.dpi)
94
- # Go back to "base" canvas
95
- # (this sets state on fig in the canvas init)
96
- FigureCanvasBase(fig)
97
98
manager._destroy_cid = fig.canvas.mpl_connect("key_press_event", _destroy)
99
0 commit comments