I have a simple python script which plots some graphs in the same figure. All graphs are created by the draw() and in the end I call the show() function to block.
T
To replicate the matplotlib.show() behaviour with the tkagg backend when calling show() on the Figure object:
import Tkinter as Tk import matplotlib.pyplot as plt fig = plt.figure() ... your plot commands... fig.show() Tk.mainloop()