SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] MPL 0.87.7 and wxPython 2.8 and OS-X

From: Christopher B. <Chr...@no...> - 2007年01月18日 21:54:14
Hi all,
Russell Owen just built an installer for MPL on OS_X for Python2.5, 
wxPython2.8.
To do it, he needed to patch
_wxagg.cpp, at line 238 as follows:
OLD:
wxBitmap *bitmap = new wxBitmap(image);
NEW
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:
<http://www.astro.washington.edu/rowen/pythonpackages/Python%202.5/>
 >>> matplotlib.__version__
'0.87.7'
 >>> wx.__version__
'2.8.0.1'
 >>> numpy.__version__
'1.0.1'
 >>> Numeric.__version__
'24.2'
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
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
Chr...@no...

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 によって変換されたページ (->オリジナル) /