diff --git a/skimage/measure/profile.py b/skimage/measure/profile.py index e3891aec..473b4113 100644 --- a/skimage/measure/profile.py +++ b/skimage/measure/profile.py @@ -51,9 +51,9 @@ def profile_line(img, src, dst, linewidth=1, The destination point is included in the profile, in contrast to standard numpy indexing. For example: - >>> profile_line(img, (1, 0), (1, 6)) # The final point is out of bounds + >>> profile_line(img, (1, 0), (1, 6)) # The final point is out of bounds array([ 1., 1., 1., 2., 2., 2., 0.]) - >>> profile_line(img, (1, 0), (1, 5)) # This accesses the full first row + >>> profile_line(img, (1, 0), (1, 5)) # This accesses the full first row array([ 1., 1., 1., 2., 2., 2.]) """ perp_lines = _line_profile_coordinates(src, dst, linewidth=linewidth)