From dc10efe4e1858c3aeb6e4e986f273b8d99371ec7 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 2 Sep 2012 17:51:37 -0400 Subject: [PATCH] DOC: Fix formatting to prevent Sphinx warnings --- skimage/filter/thresholding.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/skimage/filter/thresholding.py b/skimage/filter/thresholding.py index 3f8acdef..77f244fc 100644 --- a/skimage/filter/thresholding.py +++ b/skimage/filter/thresholding.py @@ -24,11 +24,13 @@ def threshold_adaptive(image, block_size, method='gaussian', offset=0, method : {'generic', 'gaussian', 'mean', 'median'}, optional Method used to determine adaptive threshold for local neighbourhood in weighted mean image. - * 'generic': use custom function (see `param` parameter) - * 'gaussian': apply gaussian filter (see `param` parameter for custom - sigma value) - * 'mean': apply arithmetic mean filter - * 'median' apply median rank filter + + * 'generic': use custom function (see `param` parameter) + * 'gaussian': apply gaussian filter (see `param` parameter for custom + sigma value) + * 'mean': apply arithmetic mean filter + * 'median' apply median rank filter + By default the 'gaussian' method is used. offset : float, optional Constant subtracted from weighted mean of neighborhood to calculate