python kwargs expression evaluation
You need to keep a reference to the image. Otherwise, as Fredrik Lundh explains,
Tkinter tells Tk to release the image. But since the image is in use by a widget, Tk doesn’t destroy it. Not completely. It just blanks the image, making it completely transparent…