Ken McIvor wrote:
> On Jan 21, 2007, at 11:04 AM, Allan Noriel Estrella wrote:
>> does matplotlib already support wxPython 2.8?
> I have not had the opportunity to test it with 2.8. However, I am
> given to understand that it works. The one caveat is that you cannot
> presently compile the WXAgg accelerator with 2.8.
I've tested it with 2.8 on OS-X, and it can be compiled with an almost
There is an odd bug with the standard pylab toolbar: the icons on the
buttons disappear after they have been clicked once, though the buttons
do still work.
What platform do you want it on? Are you set up to compile it yourself?
NOTE: wxPython2.8 has added some features for more directly creating
bitmaps from data. It would be great if someone used those in the
back-end -- if it works well, we might be able to get rid of the
accelerated back end altogether. You can search this list for more info
-- look for posts by me and Ken McIvor.
Here's a bit more detail about the current state of affairs (this was
recently posted on matplotlib-devel:
Russell Owen just built an installer for MPL on OS_X for Python2.5,
To do it, he needed to patch
_wxagg.cpp, at line 238 as follows:
wxBitmap *bitmap = new wxBitmap(image);
wxBitmap *bitmap = new wxBitmap(*image);
Thanks to a hint from Robin Dunn.
It now seems to work OK, except that when you use pylab.show() and then
click on the toolbar buttons to zoom, etc, the buttons no longer display
Also, it doesn't work with Numeric 24.2 either -- I think that's a known
issue, but I can't find a note about it at the moment.
Is anyone maintaining the wx back-end now?
Is MPL working with wxPython 2.8 on other platforms?
If anyone wants to try this binary out, it's temporarily at:
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception