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

Skip to content

Commit 2b68a6c

Browse files
committed
Merge pull request #2646 from mdboom/gtk3-crash
Fix Gtk3 crash when running inside of IPython
2 parents 80d27ee + 962c156 commit 2b68a6c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/backends/backend_gtk3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,6 @@ def destroy(self, *args):
427427
self.canvas.destroy()
428428
if self.toolbar:
429429
self.toolbar.destroy()
430-
self.__dict__.clear() #Is this needed? Other backends don't have it.
431430

432431
if Gcf.get_num_fig_managers()==0 and \
433432
not matplotlib.is_interactive() and \

0 commit comments

Comments
 (0)