Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90e6e43

Browse files
committed
restored gtk quit on window close
svn path=/trunk/matplotlib/; revision=5790
1 parent 0b13440 commit 90e6e43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/backends/backend_gtk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ def destroy(self, *args):
459459
if Gcf.get_num_fig_managers()==0 and \
460460
not matplotlib.is_interactive() and \
461461
gtk.main_level() >= 1:
462-
#gtk.main_quit()
463-
pass
462+
gtk.main_quit()
463+
464464

465465
def show(self):
466466
# show the figure window

0 commit comments

Comments
 (0)