mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-25 13:30:51 +08:00
Fix spacing for inline comments
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user