We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b63dee commit d3804c2Copy full SHA for d3804c2
lib/matplotlib/backends/_backend_gtk.py
@@ -28,7 +28,7 @@ def _shutdown_application(app):
28
# The application might prematurely shut down if Ctrl-C'd out of IPython,
29
# so close all windows.
30
for win in app.get_windows():
31
- win.destroy()
+ win.close()
32
# The PyGObject wrapper incorrectly thinks that None is not allowed, or we
33
# would call this:
34
# Gio.Application.set_default(None)
0 commit comments