matplotlib crashing?

Hi again, my operating system is windows 2000 professional,

    > and I'm using python 2.4, wxpython 2.5.5, and
    > matplotlib-0.80.win32-py2.4.exe. I attached my code. The
    > problem is that the program crashes when I try to close a
    > plot or plot a second plot. Any ideas how to make this work?
    > Thanks.

Don't import pylab while using the OO API -- see
examples/embedding_in_wx*.py and

http://matplotlib.sourceforge.net/faq.html#OO

Should help...