Switch plugins to use new tool api

This commit is contained in:
blink1073
2014-09-01 09:59:03 -05:00
committed by Steven Silvester
parent 2d9d8bb94c
commit 1775e959d6
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class Crop(Plugin):
def attach(self, image_viewer):
super(Crop, self).attach(image_viewer)
self.rect_tool = RectangleTool(self.image_viewer.ax,
self.rect_tool = RectangleTool(image_viewer,
maxdist=self.maxdist,
on_enter=self.crop)
self.artists.append(self.rect_tool)