Skip to content

Commit

Permalink
Fix: Crash upon refresh of streamlines
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwinkler committed May 25, 2022
1 parent 85a4df2 commit c977eba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyplane/core/StreamlineHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ def remove(self):
except:
pass

#sl_arrows.remove() doesn't work
# doesn't work either: del sl.arrows
# as long as no other patches are used:
self.myWidget.Plot.canvas.axes.patches = []
self.myWidget.Plot.canvas.axes.patches.clear()

myLogger.message("Streamlines removed")
else:
Expand Down

0 comments on commit c977eba

Please sign in to comment.