Skip to content

Commit

Permalink
Merge pull request #920 from francisco-dlp/FIX_912
Browse files Browse the repository at this point in the history
Fix 912
  • Loading branch information
to266 committed Mar 24, 2016
2 parents 4f3abbb + a25cb98 commit ea59b22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hyperspy/drawing/mpl_he.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,7 @@ def _on_navigator_plot_closing(self):
self.navigator_plot = None

def close(self):
self.signal_plot.close()
self.navigator_plot.close()
if self.signal_plot:
self.signal_plot.close()
if self.navigator_plot:
self.navigator_plot.close()

0 comments on commit ea59b22

Please sign in to comment.