The image i imported is not displaying on the button. Any ideas why?
eye_img = PhotoImage(file="Eye.gif")
eye_img = eye_img.subsample(19)
show_password = Button(canvas, width = 31, image=eye_img, height = 17, bg = "#E2E6EF", relief = "flat", command = Show)
canvas_show_password = canvas.create_window(660, 355, window = show_password)
Here is a screenshot of the button display (invisible as the image isn't there).