From aaf0749b8950d55a82fdb552e66ed9b4e3df608b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 3 Nov 2013 23:57:55 +0100 Subject: [PATCH] Fix hough_line_peaks doctest --- skimage/transform/hough_transform.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/skimage/transform/hough_transform.py b/skimage/transform/hough_transform.py index de72fc86..48cad399 100644 --- a/skimage/transform/hough_transform.py +++ b/skimage/transform/hough_transform.py @@ -49,10 +49,8 @@ def hough_line_peaks(hspace, angles, dists, min_distance=9, min_angle=10, >>> img[cc, rr] = 1 >>> hspace, angles, dists = hough_line(img) >>> hspace, angles, dists = hough_line_peaks(hspace, angles, dists) - >>> angles - array([-0.7810104642, 0.7810104642]) - >>> dists - array([ 0.511627907 , 10.7441860465]) + >>> len(angles) + 2 """