BUG: Fix renamed parameter

This commit is contained in:
Tony S Yu
2012-12-13 17:36:22 -05:00
parent 70461b4bc9
commit 43fecd0cb8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class LineProfile(PlotPlugin):
self.line_tool = ThickLineTool(self.image_viewer.ax, x, y,
maxdist=self.maxdist,
on_update=self.line_changed)
on_move=self.line_changed)
scan_data = profile_line(image, self.end_pts)
self.profile = self.ax.plot(scan_data, 'k-')[0]
+1 -1
View File
@@ -36,7 +36,7 @@ class Measure(Plugin):
y = [h / 2] * 2
self.line_tool = LineTool(self.image_viewer.ax, x, y,
maxdist=self.maxdist,
on_update=self.line_changed)
on_move=self.line_changed)
# initialize displayed values
self.line_changed(np.transpose((x, y)))