mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Switch plugins to use new tool api
This commit is contained in:
committed by
Steven Silvester
parent
2d9d8bb94c
commit
1775e959d6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user