Skip to content

Commit

Permalink
FIX: Safer del
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 27, 2020
1 parent 283a580 commit ce7ac2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surfer/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -2299,7 +2299,7 @@ def close(self):
self._close()

def _close(self, force_render=True):
for ri, ff in enumerate(self._figures):
for ri, ff in enumerate(getattr(self, '_figures', [])):
for ci, f in enumerate(ff):
if f is not None:
try:
Expand Down

0 comments on commit ce7ac2d

Please sign in to comment.