Re: [Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-15 Thread Laurent Dufréchou
s: I think ax.getFigure().bbox is getting the whole picture so this is why it is slower. De : Auré Gourrier [mailto:aurelien.gourr...@yahoo.fr] Envoyé : jeudi 15 octobre 2009 10:32 À : matplotlib-users@lists.sourceforge.net Objet : Re: [Matplotlib-users] [Solved] Little issue with blitting

Re: [Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-15 Thread Auré Gourrier
>On Tue, Oct 13, 2009 at 5:06 PM, Laurent Dufr?chou > wrote: >> Hey, coparing on how GTK2 example is done I've seen a difference between the >> two! >> >> In QT4Agg example and WX example the code use: >> >> canvas.copy_from_bbox(ax.bbox) >> replacing all occurrence of ax.bbox with ax.get_figure(

Re: [Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-14 Thread Jae-Joon Lee
On Tue, Oct 13, 2009 at 5:06 PM, Laurent Dufréchou wrote: > Hey, coparing on how GTK2 example is done I've seen a difference between the > two! > > In QT4Agg example and WX example the code use: > > canvas.copy_from_bbox(ax.bbox) > replacing all occurrence of ax.bbox with ax.get_figure().bbox sol

[Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-13 Thread Laurent Dufréchou
Hey, coparing on how GTK2 example is done I've seen a difference between the two! In QT4Agg example and WX example the code use: canvas.copy_from_bbox(ax.bbox) replacing all occurrence of ax.bbox with ax.get_figure().bbox solved all the issue I add. Perhaps we should correct the examples. I ca