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

Skip to content

Commit 13459e4

Browse files
author
Steve Chaplin
committed
SC 30/01/2005
svn path=/trunk/matplotlib/; revision=897
1 parent 17e6145 commit 13459e4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/backends/backend_gtk.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ def show(mainloop=True):
8383
manager.window.show()
8484

8585
if mainloop and gtk.main_level() == 0:
86-
if gtk.pygtk_version >= (2,4,0): gtk.main()
87-
else: gtk.mainloop()
86+
gtk.main()
8887

8988

9089
def new_figure_manager(num, *args, **kwargs):

0 commit comments

Comments
 (0)