Re: [matplotlib-devel] Qt backends redrawing twice on zooming

2008-03-24 Thread Michael Droettboom
Ted Drain wrote:
> I've been investigating performance problems we've been having w/ the Qt
> backends.  One problems is that zooming takes forever.  I've put a lot of
> timing loops into the backends to see where things are happening and found a
> couple of interesting items.  
>
> The first is that agg seems to get much slower as you zoom in.  The agg draw
> time goes up as the zoom level goes up.  These are plots that are completely
> done w/ the Ellipse patch.  Using the Arc patch helps but is about 10%
> slower when not zooming.  
>   
Out of curiosity -- are you using matplotlib 0.91.2, or the SVN trunk?  
The SVN trunk has about 25% faster out-of-bounds vertex removal that 
should improve this.
> The second (and reason for the email), is that the QtAgg backends are
> redrawing the whole plot twice when zooming w/ the mouse.  
It looks like Darren has addressed this part...

Cheers,
Mike

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Qt backends redrawing twice on zooming

2008-03-24 Thread Darren Dale
On Monday 24 March 2008 08:09:56 am Michael Droettboom wrote:
> Ted Drain wrote:
> > I've been investigating performance problems we've been having w/ the Qt
> > backends.  One problems is that zooming takes forever.  I've put a lot of
> > timing loops into the backends to see where things are happening and
> > found a couple of interesting items.
> >
> > The first is that agg seems to get much slower as you zoom in.  The agg
> > draw time goes up as the zoom level goes up.  These are plots that are
> > completely done w/ the Ellipse patch.  Using the Arc patch helps but is
> > about 10% slower when not zooming.
>
> Out of curiosity -- are you using matplotlib 0.91.2, or the SVN trunk?
> The SVN trunk has about 25% faster out-of-bounds vertex removal that
> should improve this.
>
> > The second (and reason for the email), is that the QtAgg backends are
> > redrawing the whole plot twice when zooming w/ the mouse.
>
> It looks like Darren has addressed this part...

That was a different redundant draw() call that Ted reported earlier. I just 
committed this fix, thanks Ted.

Darren

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel