I am trying to plot data that has been loaded into an Sqlite database from my GUI that uses tkinter. For some reason when I run the code it takes a very long time to execute eve