Thanks I got it fixed.
This leads to the follow up question:
What is the right way to keep an application responsive while the graph is
drawn?
Drawing a scatter plot with 300 points seems to take a while. I guess I need
to launch the drawing in another thread but don't know exactly how to do
this and only find examples of doing calculations in the background and not
actual widget interaction.

- Alex

On Sun, Jan 3, 2010 at 3:37 PM, Darren Dale <dsdal...@gmail.com> wrote:

> On Sun, Jan 3, 2010 at 5:26 PM, Alexander Hupfer <son...@gmail.com> wrote:
> > Ok, that at least fixed the tkinter error, but I still don't get a
> colorbar
> > attached to my plot. (which worked fine when I didn't embedd it in a Qt
> > application)
>
> If you are importing from pylab or pyplot in your program, don't.
> These modules are not compatible with embedding.
>
> Darren
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to