mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-10 01:56:00 +08:00
remove colons in comments
This commit is contained in:
committed by
Stefan van der Walt
parent
77e4c37e5c
commit
74b358af82
@@ -19,11 +19,11 @@ import numpy as np
|
||||
|
||||
img = np.zeros((500, 500, 3), 'uint8')
|
||||
|
||||
#: draw line
|
||||
# draw line
|
||||
rr, cc = line(120, 123, 20, 400)
|
||||
img[rr,cc,0] = 255
|
||||
|
||||
#: fill polygon
|
||||
# fill polygon
|
||||
poly = np.array((
|
||||
(300, 300),
|
||||
(480, 320),
|
||||
@@ -34,11 +34,11 @@ poly = np.array((
|
||||
rr, cc = polygon(poly[:,0], poly[:,1], img.shape)
|
||||
img[rr,cc,1] = 255
|
||||
|
||||
#: fill circle
|
||||
# fill circle
|
||||
rr, cc = circle(200, 200, 100, img.shape)
|
||||
img[rr,cc,:] = (255, 255, 0)
|
||||
|
||||
#: fill ellipse
|
||||
# fill ellipse
|
||||
rr, cc = ellipse(300, 300, 100, 200, img.shape)
|
||||
img[rr,cc,2] = 255
|
||||
|
||||
|
||||
Reference in New Issue
Block a user