From e7d37997d92b911dd2662112474e8574246e513a Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sat, 10 Dec 2011 19:33:29 -0500 Subject: [PATCH] Fix minor typo in docstring example --- skimage/thresholding/thresholding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/thresholding/thresholding.py b/skimage/thresholding/thresholding.py index 861d2647..980dfeba 100644 --- a/skimage/thresholding/thresholding.py +++ b/skimage/thresholding/thresholding.py @@ -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)