From 89d8ff4b3f4f51204e184cc61e6a2ff5f2a2aa17 Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Fri, 20 Mar 2020 12:03:22 +0100 Subject: [PATCH] Set point outline color correctly The outline of the oval drawn now has the same color as the fill color to display the whole point in this color. --- point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/point.py b/point.py index 8924288..c10b69b 100644 --- a/point.py +++ b/point.py @@ -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):