From 343d1d2ec3995c4787560d4f2dbdb9e23d326eb1 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 22 Sep 2014 17:54:56 +0200 Subject: [PATCH] Fix incorrectly documented non-optional argument --- skimage/restoration/_denoise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/restoration/_denoise.py b/skimage/restoration/_denoise.py index 260b1078..047d7388 100644 --- a/skimage/restoration/_denoise.py +++ b/skimage/restoration/_denoise.py @@ -71,7 +71,7 @@ def denoise_tv_bregman(image, weight, max_iter=100, eps=1e-3, isotropic=True): ---------- image : ndarray Input data to be denoised (converted using img_as_float`). - weight : float, optional + weight : float Denoising weight. The smaller the `weight`, the more denoising (at the expense of less similarity to the `input`). The regularization parameter `lambda` is chosen as `2 * weight`.