A simple example program of how to embed a matplotlib figure into a tkinter GUI application, and have the matplotlib figure update in real time.