From 9c7752eecf384a3b7c5c417b0ed28c50f393e560 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 9 Feb 2012 20:44:10 -0800 Subject: [PATCH] DOC: Fix outdated docstring. --- skimage/color/colorconv.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skimage/color/colorconv.py b/skimage/color/colorconv.py index 3f0f4fb8..36165d68 100644 --- a/skimage/color/colorconv.py +++ b/skimage/color/colorconv.py @@ -104,7 +104,10 @@ def convert_colorspace(arr, fromspace, tospace): def _prepare_colorarray(arr): - """Check the shape of the array, and give it the requested type.""" + """Check the shape of the array and convert it to + floating point representation. + + """ arr = np.asanyarray(arr) if arr.ndim != 3 or arr.shape[2] != 3: