Fix minor typo in docstring example

This commit is contained in:
Tony S Yu
2011-12-10 19:33:29 -05:00
parent 6a6e273d06
commit e7d37997d9
+1 -1
View File
@@ -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)