Set point outline color correctly
All checks were successful
continuous-integration/drone/push Build is passing

The outline of the oval drawn now has the same color as the fill color
to display the whole point in this color.
This commit is contained in:
2020-03-20 12:03:22 +01:00
parent 8a3910497e
commit 89d8ff4b3f

View File

@@ -38,7 +38,7 @@ class Point():
center_y = height - (self.get_y() * (height / max_y))
if center_x <= width and center_y <= height:
canvas.create_oval(center_x - radius, center_y - radius, \
center_x + radius, center_y + radius, fill=color)
center_x + radius, center_y + radius, fill=color, outline=color)
return center_x, center_y
def get_random(min_x=0, max_x=100, min_y=0, max_y=100):