Edit wording of docstrings

This commit is contained in:
Tony S Yu
2014-06-17 23:08:03 -05:00
parent 423207e07c
commit ec9198c58e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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