Update lineprofile examples to use returned output

This commit is contained in:
Juan Nunez-Iglesias
2014-04-10 12:16:14 +10:00
parent 69f5e9d5fe
commit 9ef9045875
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ from skimage.viewer.plugins.lineprofile import LineProfile
image = data.camera()
viewer = ImageViewer(image)
viewer += LineProfile()
viewer.show()
line, profile = viewer.show()[0]
+1 -1
View File
@@ -6,4 +6,4 @@ from skimage.viewer.plugins.lineprofile import LineProfile
image = data.chelsea()
viewer = ImageViewer(image)
viewer += LineProfile()
viewer.show()
line, profiles = viewer.show()[0]