Hello, I am running a wxpython application and I am using matplotlib to plot some data.  It seems that when I plot a graph, then close it and plot another graph my program crashes.  The error is “This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.”


Do I need to close a graph in a special way before I open another one? Any suggestions? Thanks.