From 69444305e868890f36b997bf5ee15162839d0478 Mon Sep 17 00:00:00 2001 From: Warren Weckesser Date: Sun, 8 Jan 2012 16:52:39 -0600 Subject: [PATCH] DOC: fix probabilistic_hough docstring--use correct keyword arg in the docstring, plus a few spacing tweaks. --- skimage/transform/hough_transform.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/transform/hough_transform.py b/skimage/transform/hough_transform.py index 44c26623..a1a0187c 100644 --- a/skimage/transform/hough_transform.py +++ b/skimage/transform/hough_transform.py @@ -66,15 +66,15 @@ def probabilistic_hough(img, threshold=10, line_length=50, line_gap=10, theta=No ---------- img : (M, N) ndarray Input image with nonzero values representing edges. - value_threshold: int + threshold : int Threshold - line_length: int, optional (default 50) + line_length : int, optional (default 50) Minimum accepted length of detected lines. Increase the parameter to extract longer lines. - line_gap: int, optional, (default 10) + line_gap : int, optional, (default 10) Maximum gap between pixels to still form a line. Increase the parameter to merge broken lines more aggresively. - theta :1D ndarray, dtype=double, optional, default (-pi/2 .. pi/2) + theta : 1D ndarray, dtype=double, optional, default (-pi/2 .. pi/2) Angles at which to compute the transform, in radians. Returns