Skip to content

Commit

Permalink
AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
OceanWolf committed Sep 22, 2015
1 parent 117ca34 commit d842ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/backend_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class ToolQuit(ToolBase):
def trigger(self, sender, event, data=None):
try:
manager = self.figure.canvas.manager
except:
except AttributeError:
pass
else:
manager.destroy('window_destroy_event')
Expand Down

0 comments on commit d842ee8

Please sign in to comment.