From ec9198c58e550ad12ffa78a538c96ca9777024e2 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Mon, 16 Jun 2014 23:00:12 -0500 Subject: [PATCH] Edit wording of docstrings --- skimage/_shared/utils.py | 2 +- skimage/exposure/exposure.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/_shared/utils.py b/skimage/_shared/utils.py index 6f121955..40703206 100644 --- a/skimage/_shared/utils.py +++ b/skimage/_shared/utils.py @@ -23,7 +23,7 @@ def deprecation_warning(msg, **kwargs): """Emit deprecation warning for scikit-image. Unlike default deprecation warnings, this is not silenced by default. - Additional keyword arguments are passed to `warnings.warn_explicit`. + Additional keyword arguments are passed to `warnings.warn`. """ warnings.simplefilter('always', skimage_deprecation) warnings.warn(msg, category=skimage_deprecation, **kwargs) diff --git a/skimage/exposure/exposure.py b/skimage/exposure/exposure.py index 249e4bab..1350e61a 100644 --- a/skimage/exposure/exposure.py +++ b/skimage/exposure/exposure.py @@ -157,7 +157,7 @@ def intensity_range(image, range_values='image', zero_min=False): zero_min : bool If True, the image dtype's min is truncated to 0. Note that this only - applies the output range if `range_values` specifies a dtype. + applies to the output range if `range_values` specifies a dtype. """ if range_values == 'dtype': range_values = image.dtype.type