Hello, I'm writing an app that requires a gui interface
> that will generate graphs on demand. When one top-level
> window containing a new graph is created, it should not
> block the application from making new ones if the user
> requests one.
> I can do this myself but I like matplotlib. How could I
> do this? So far it seems that my app blocks on the show()
> call, and if I try to make a new graph after that, the
> whole application locks up and has to be killed.
Don't use the pylab interface when building moderately complex
applications -- use the OO library instead. What GUI toolkit are you
using to build your app? See embedding_in_*.py, in the examples
directory, where * is the name of your GUI toolkit, eg, tk, gtk, wx
Hope this helps,