changing color of rect canvas does no longer work properly in version 4.0
my_canvas = Canvas()
#below works
my_canvas['rect'] = Rect(-100, -100, 200, 200, color = "red")
#but below no longer works in version 4.0 (did work before)
my_canvas['rect'] = Rect(-100, -100, 200, 200)
my_canvas['rect'].color = "red" #runtime error that.color does not exist
my_canvas.show()
clock.sleep(5000)

Comments
Thanks for reporting. It is being tracked here
Hi Henk,
Can you update your version? That problem has been fixed in the end of last year, so if you have the latest version, it should actually not show this problem anymore.
Eduard