Use a valid color name

This commit is contained in:
Robin Dunn
2020-02-26 09:55:17 -08:00
parent f447c12f74
commit 81001efb9b

View File

@@ -153,7 +153,7 @@ class DrawFrame(wx.Frame):
Range = (-10,10)
# Create a couple of random Polygons
for i, color in enumerate(("LightBlue", "Green", "Purple","Yellow")):
for i, color in enumerate(("Light Blue", "Green", "Purple","Yellow")):
points = RandomArray.uniform(Range[0],Range[1],(6,2))
Poly = self.Canvas.AddPolygon(points,
LineWidth = 2,