DOC: Fix outdated docstring.

This commit is contained in:
Stefan van der Walt
2012-02-09 20:45:23 -08:00
parent f4330db90d
commit 9c7752eecf
+4 -1
View File
@@ -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: