2012/11/4 Brickle Macho <bricklema...@gmail.com>: > [...] When I show() a plot form within a Qt application I get the > following message printed on the console: > > QCoreApplication::exec: The event loop is already running > > I think I understand the error, obviously the application I calling form > control the even loop. I suppose I need to somehow supply a parent > window to pylab plot or the show() function. Is there a way to create > a plot and show so as not to use the main loop?
Do not use show() in a GUI application. If you have a FigureCanvas instance embedded in your app, call its draw() method. If you use pyplot.figure() to create a matplotlib window from your app, call pyplot.draw(). Goyo ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users