From 01967e5060e93e2c91c092b199e0143213357c29 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Thu, 30 Jan 2014 12:15:36 +1100 Subject: [PATCH] Update docstring according to @stefanv's comments --- skimage/measure/profile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/skimage/measure/profile.py b/skimage/measure/profile.py index e49c710c..98038e06 100644 --- a/skimage/measure/profile.py +++ b/skimage/measure/profile.py @@ -8,8 +8,10 @@ def profile_line(img, src, dst, linewidth=1, Parameters ---------- - img : 2d or 3d array - The image, in grayscale (2d) or multichannel (2d + c) format. + img : numeric array, shape (M, N[, C]) + The image, either grayscale (2D array) or multichannel + (3D array, where the final axis contains the channel + information). src : 2-tuple of numeric scalar (float or int) The start point of the scan line. dst : 2-tuple of numeric scalar (float or int)