From: Eric F. <ef...@ha...> - 2010-01-04 02:25:07
|
Alexander Hupfer wrote: > 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 That's strange--a scatter plot with 1000 points looks practically instantaneous to me. Are you using the Axes.scatter method? Eric > 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 <dsd...@gm... > <mailto:dsd...@gm...>> wrote: > > On Sun, Jan 3, 2010 at 5:26 PM, Alexander Hupfer <so...@gm... > <mailto:so...@gm...>> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |