mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Add tests for all of viewer subpackage, with necessary file mods
This commit is contained in:
@@ -239,7 +239,8 @@ class Plugin(QtGui.QDialog):
|
||||
|
||||
def clean_up(self):
|
||||
self.remove_image_artists()
|
||||
self.image_viewer.plugins.remove(self)
|
||||
if self in self.image_viewer.plugins:
|
||||
self.image_viewer.plugins.remove(self)
|
||||
self.image_viewer.reset_image()
|
||||
self.image_viewer.redraw()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user