multiple plots in matplotlib

Several people have experienced problems along these lines,

    > and we're working on a fix. This was the first release of
    > the Tk backend so please keep us up to date on other
    > problems you find. Using the "close" command instead of
    > clicking the x to close the window should work

I think I sorted this out. The following
matplotlib.backends.backend_tkagg should handle closing properly
whether you do it from the close button on the toolbar, the close
button on the window, or the matlab close command

backend_tkagg.py (11.6 KB)