SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] First cut on a QtAgg backend

From: John H. <jdh...@ac...> - 2005年01月31日 19:37:56
>>>>> "Sigve" == Sigve Tjora <si...@tj...> writes:
 Sigve> That probably leaves us with the OSX problems, though. Ahh,
 Sigve> fixed in CVS, ok then.
I'm lost here -- as far as I know the endianess problem *was not*
fixed in CVS. I did add an agg method tostring_bgra to CVS which
appears to fix the reversed color problem. I haven't had a chance to
test this on OSX since my powerbook is at home...
 Sigve> I think that QPixmap or better yet QCanvas would be the
 Sigve> appropriate if you are making a pure Qt-backend, but that
 Sigve> QImage is the choice for a backend with other rendering as
 Sigve> Agg or Cairo.
OK, I'll leave that to you, since I now next to nothing about qt.
 Sigve> Adding this to the end of FigureCanvasQtAgg.__init__ will
 Sigve> fix tracking:
 Sigve> self.setMouseTracking(True)
Yep, works. Easy enough.
Any thoughts about why the figure doesn't refresh during pan and zoom.
On my box (linux) the update only occurs after the mouse button is
released.
The other annoyance vis-a-vis nav toolbar I notice is the flicker when
doing the rubberbanding for zoom to rect. Any idea how to implement
double buffering to avoid the flicker?
Thanks!
JDH

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /