Re: [Matplotlib-users] embedding matplotlib in C++ and closing the matplotlib window

2007-10-11 Thread John Hunter
On 10/11/07, Alexander Schmolck <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using matplotlib in a C++ app (with a qt4 gui), by embedding python with > boost::python. The C++ app calls Py_Initialize(), init_myplottingmodule(), and > boost::python::import("matplotlib.pylab") once on startup and certain

[Matplotlib-users] embedding matplotlib in C++ and closing the matplotlib window

2007-10-11 Thread Alexander Schmolck
Hi, I'm using matplotlib in a C++ app (with a qt4 gui), by embedding python with boost::python. The C++ app calls Py_Initialize(), init_myplottingmodule(), and boost::python::import("matplotlib.pylab") once on startup and certain GUI events then fire up a matplotlib window via calls like this one: