mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
FIX: No longer reset for each update
This commit is contained in:
1 parent
19a3d33573
commit
6f775400b5
1 file changed
+1
-1
@@ -107,7 +107,7 @@ class LineProfile(PlotPlugin):
|
||||
scan = profile_line(self.image_viewer.original_image, end_points,
|
||||
linewidth=self.line_tool.linewidth)
|
||||
|
||||
if scan[1].shape != len(self.profile):
|
||||
if scan.shape[1] != len(self.profile):
|
||||
self.reset_axes(scan)
|
||||
|
||||
for i in range(len(scan[0])):
|
||||
|
||||
Reference in new issue
Block a user