mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
Add empty lines between functions
This commit is contained in:
@@ -265,6 +265,7 @@ def circle_perimeter(int cy, int cx, int radius, method='bresenham'):
|
||||
|
||||
return np.array(rr) + cy, np.array(cc) + cx
|
||||
|
||||
|
||||
def ellipse_perimeter(int cy, int cx, int yradius, int xradius):
|
||||
"""Generate ellipse perimeter coordinates.
|
||||
|
||||
@@ -350,6 +351,7 @@ def ellipse_perimeter(int cy, int cx, int yradius, int xradius):
|
||||
|
||||
return np.array(py) + cy, np.array(px) + cx
|
||||
|
||||
|
||||
def set_color(img, coords, color):
|
||||
"""Set pixel color in the image at the given coordinates. Coordinates that
|
||||
exceed the shape of the image will be ignored.
|
||||
|
||||
Reference in New Issue
Block a user