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
@@ -59,7 +59,7 @@ class LineProfile(PlotPlugin):
x = [w / 3, 2 * w / 3]
y = [h / 2] * 2
self.line_tool = ThickLineTool(self.image_viewer.ax,
self.line_tool = ThickLineTool(self.image_viewer,
maxdist=self.maxdist,
on_move=self.line_changed,
on_change=self.line_changed)