From 35d69732155b7df87af1a77b7312a627ae6f31ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Sun, 24 Mar 2013 16:34:27 +0100 Subject: [PATCH] fix deprecated variable --- skimage/transform/hough_transform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/transform/hough_transform.py b/skimage/transform/hough_transform.py index 8f56efe9..a3c010cd 100644 --- a/skimage/transform/hough_transform.py +++ b/skimage/transform/hough_transform.py @@ -14,7 +14,7 @@ def hough(img, theta=None): return hough_line(img, theta) -@deprecated('probabilistic_hough') +@deprecated('probabilistic_hough_line') def probabilistic_hough(img, threshold=10, line_length=50, line_gap=10, theta=None): return probabilistic_hough_line(img, threshold=threshold, @@ -22,7 +22,7 @@ def probabilistic_hough(img, threshold=10, line_length=50, line_gap=10, theta=theta) -@deprecated('hough_peaks') +@deprecated('hough_line_peaks') def hough_peaks(hspace, angles, dists, min_distance=10, min_angle=10, threshold=None, num_peaks=np.inf): return hough_line_peaks(hspace, angles, dists, min_distance, min_angle,