Fix spacing for inline comments

This commit is contained in:
Shaun Singh
2016-02-25 17:24:29 -08:00
parent f6618ef8b2
commit 7a2c80e70f
+2 -2
View File
@@ -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)