From: Laurent D. <LDu...@ma...> - 2009-10-13 17:02:59
|
Hello, I've tested so far with wx and QT4 backend. The two are buggy. Easy way to reproduce the bug (another way I mean) ax = p.subplot(212) ax2 = p.subplot(211) and the two backends got the same error. Note that I'm under windows. I'll try under linux tonight just to check. I'll also try gtk backend as you suggest. Update in next email :) > -----Message d'origine----- > De : Jae-Joon Lee [mailto:lee...@gm...] > Envoyé : mardi 13 octobre 2009 18:36 > À : Laurent Dufrechou > Cc : mat...@li... > Objet : Re: [Matplotlib-users] Little issue with blitting technique > > 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 and help. > > Regards, > > -JJ > > > On Thu, Oct 8, 2009 at 11:30 AM, Laurent Dufrechou > <LDu...@ma...> wrote: > > Hello, > > > > > > > > I’ve just discovered blitting technique to improve performances. > > > > I’m using this example > > > http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4 > .html > > > > > > > > I encounter an issue if instead of using subplot I use add_axes > method to > > hand define where I want my plot. > > > > In this case blitting is no more working like if restore_region was > not > > restoring context… > > > > > > > > def __init__(self): > > > > FigureCanvas.__init__(self, Figure()) > > > > > > > > #self.ax = self.figure.add_subplot(111) > > > > self.ax = self.figure.add_axes([0.1,0.1,0.8,0.2]) > > > > > > > > Any idea why in this case the example given is not working? > > > > > > > > Cheers, > > > > Laurent > > > > --------------------------------------------------------------------- > --------- > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart > your > > developing skills, take BlackBerry mobile applications to market and > stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > |