mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 08:30:06 +08:00
Update lineprofile examples to use returned output
This commit is contained in:
@@ -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