mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-23 13:10:18 +08:00
Fix minor typo in docstring example
This commit is contained in:
@@ -28,7 +28,7 @@ def threshold_otsu(image, bins=256):
|
||||
--------
|
||||
>>> from skimage.data import camera
|
||||
>>> image = camera()
|
||||
>>> thresh = threshold_otsu(camera())
|
||||
>>> thresh = threshold_otsu(image)
|
||||
>>> binary = image > thresh
|
||||
"""
|
||||
hist, bin_centers = histogram(image, bins)
|
||||
|
||||
Reference in New Issue
Block a user