Python Tkinter graph plotter