I am using the following to add a button to my GUI. I am not able to get the image to display. Without specifying height or width, the button is huge but no image. Can you tell me what I am doing wrong? All of my other buttons, created similarly but with no image are displayed fine.
photo = PhotoImage(file=r"C:\Users\jim\Pictures\refresh.png")
self.bt_plot_test1 = tk.Button(self.lf_FileFunctions, image = photo, command=self.plot_employee_allocations)
self.bt_plot_test1.grid(row=3, column=0, padx=0, pady=0,sticky=tk.NW)