Re: [Matplotlib-users] Little issue with blitting

2009-10-24 Thread Laurent Dufréchou
Ha, ok finally i’ve solved the issue. In fact each time you call blit method you must force a repaint. This what v4 does. I’ve also removed self.repaint() in my script and modified backend_qt4agg: def blit(self, bbox=None): """ Blit the region in bbox """

Re: [Matplotlib-users] Little issue with blitting

2009-10-24 Thread Laurent Dufréchou
Hello Auré and Jae-joon, Hi all, First thx for you help. I’ve taken your example, modified a little to use QT loop. (it was not working on my machine manager.window.after(100, run) was unknown) The bad thing is that first it didn’t work BUT I’ve almost found why. If I call two times

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

2009-10-16 Thread Laurent Dufrechou
> De : Jae-Joon Lee [mailto:lee.j.j...@gmail.com] > Envoyé : jeudi 15 octobre 2009 05:23 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [Matplotlib-users] Little issue with blitting technique > > On Tue, Oct 13, 2009 at 1:02 PM, Laurent Du

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

2009-10-14 Thread Jae-Joon Lee
On Tue, Oct 13, 2009 at 4:53 PM, Laurent Dufréchou wrote: > (still your gtk example is more beautiful but 10 times slower than other > examples, so is blitting really working in this case ?) What example do you mean? The performance will depend on complexity of the plot items that need to be dra

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

2009-10-14 Thread Jae-Joon Lee
Jae-Joon Lee [mailto:lee.j.j...@gmail.com] >> Envoyé : mardi 13 octobre 2009 18:36 >> À : Laurent Dufrechou >> Cc : matplotlib-users@lists.sourceforge.net >> Objet : Re: [Matplotlib-users] Little issue with blitting technique >> >> I haven't tested it w

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

2009-10-13 Thread Laurent Dufréchou
19:02 > À : Jae-Joon Lee > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [Matplotlib-users] Little issue with blitting technique > > Hello, > > I've tested so far with wx and QT4 backend. > The two are buggy. > Easy way to reproduce the bug (another way I m

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

2009-10-13 Thread Laurent Dufrechou
#x27;ll also try gtk backend as you suggest. Update in next email :) > -Message d'origine- > De : Jae-Joon Lee [mailto:lee.j.j...@gmail.com] > Envoyé : mardi 13 octobre 2009 18:36 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [M

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

2009-10-13 Thread Jae-Joon Lee
I haven't tested it with qt4, but with gtk, add_axes DOES work. So, can you try other backends and see if they work? And, I believe that add_subplot -> add_axes is a only change you made? Unless the problem is persistent among other backends, I hope other developers who use qt4 backend step in a