So I have a simple tkinter GUI that I am using to help display plots. I have buttons that call functions like the below plot_record() which is suppose to update a plot. This all