mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
Update lineprofile examples to use returned output
This commit is contained in:
1 parent
69f5e9d5fe
commit
9ef9045875
2 files changed
+2
-2
No files matched your search
@@ -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]
|
||||
@@ -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]
|
||||
Reference in new issue
Block a user