From c2193cbc34f07f34aec2894a028c3e3b55e0d72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Sun, 7 Jul 2013 10:42:32 +0200 Subject: [PATCH] fix doctest --- skimage/transform/_hough_transform.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skimage/transform/_hough_transform.pyx b/skimage/transform/_hough_transform.pyx index d158a84d..a3aa2649 100644 --- a/skimage/transform/_hough_transform.pyx +++ b/skimage/transform/_hough_transform.pyx @@ -130,9 +130,9 @@ def hough_ellipse(cnp.ndarray img, int threshold=4, double accuracy=1, -------- >>> img = np.zeros((25, 25), dtype=int) >>> rr, cc = draw.ellipse_perimeter(10, 10, 6, 8) - >>> img[rr, cc] = 1 - >>> result = hough_ellipse(img, threshold=6) - [(10.0, 10.0, 8.0, 6.0474292058692187, 0.0, 8)] + >>> img[cc, rr] = 1 + >>> result = hough_ellipse(img, threshold=8) + [(10.0, 10.0, 8.0, 6.0, 0.0, 10)] Notes -----