|
From: Christopher B. <Chr...@no...> - 2006-02-27 17:25:01
|
Sam,
I wish I could be more help,. but maybe I can help steer your efforts bit:
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/backends/backend_wxagg.py
> in draw(self, repaint)
> 60 FigureCanvasAgg.draw(self)
> 61
> ---> 62 self.bitmap =
> _convert_agg_to_wx_bitmap(self.get_renderer(), None)
> 63 if repaint:
> 64 self.gui_repaint()
>
> MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the
> wx.Bitmap
This sure looks like your error occurs when MPL is trying to convert
from the wxagg internal image storage to a wxBitmap. As a test, I'd make
sure the pure Agg back-end works fine (have it create a PNG). If so then
font,s etc have nothing to do withyour trouble...it's all about the agg
-> wx conversion. that's why I thought it could be caused by liniking to
the wrong version of wx.
to make sure you have linked to the right version, you can use:
otool -L
on the wxagg libs that MPL builds. That should tell you which wx libs
you've actuallylinked to.
With any luck, I'll have a chance to try to get this working on my
system this week, and then maybe I'll be more help.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
|