Skip to content

Commit

Permalink
fixed bug due to new version of matplotlib that likely also fixes issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavsditz committed Jun 10, 2023
1 parent a85cd57 commit 2d8efbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uilib/widgets/grainPreviewGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def cleanup(self):
self.image = None
if self.numContours > 0:
for _ in range(0, self.numContours):
self.plot.lines.pop(0)
self.plot.lines[0].remove()
self.numContours = 0
self.draw()

Expand Down

0 comments on commit 2d8efbd

Please sign in to comment.