Hi! I just installed matplotlib version .99 (windows vista, python25,
32bit) and found that
this line was missing:
QtGui.qApp.processEvents()
Adding it sped the QT4Agg backend back to reasonable speeds--but it still
seems a bit slow. Otherwise, I am using the excellent Python(x,y) 2.1.14
release for my python distribution on this machine. Could this line be
added back?
Cheers,
William
On Tue, Aug 19, 2008 at 4:58 AM, Pierre Raybaut <cont...@pythonxy.com>wrote:
> Hi Darren,
>
> 2008/8/18 Darren Dale <dsdal...@gmail.com>:
> > Nevermind. It turns out its not exactly poor performance, but for some
> reason
> > the gui events were not getting processed as frequently on windows. Maybe
> Qt
> > changed something in an attempt to optimize performance.
> >
> > I applied a patch in svn 6043, but its a really simple fix. At the end of
> > backend_qt4agg.FigureCanvasQTAgg.draw, after self.update(), add this
> line:
> >
> > QtGui.qApp.processEvents()
> >
> > It seemed to improve things on my windows laptop, but let me know if it
> fixes
> > the problem for you.
>
> Good work Darren, thanks, it works perfectly!
> That is great news because I found (and reported) this bug three
> months ago, so I was beginning to worry about the future of Qt4
> backend.
> Now I can consider updating PyQt in Python(x,y).
>
> > I forgot to mention, the svg icons display fine for me with windows xp,
> > matplotlib-0.98.
>
> Forget about it, I've just found out that this is related to one of my
> own-made packages.
>
> Thanks
> Pierre
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel