mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
DOC: Fix outdated docstring.
This commit is contained in:
1 parent
f4330db90d
commit
9c7752eecf
1 file changed
+4
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user