Problems upgrading to mpl 0.87.4

Dear all,
I upgraded matplotlib from 0.87.2.win32-py2.4 to 0.87.4. When trying to run the test program

#program text.py
import matplotlib as mpl
mpl.use('WXAgg')
mpl.interactive(False)
from pylab import plot, show
plot([1,2,3,4])
show()

double clicking on it or at the command line I got a warning from python.exe saying that library wxmsw26uh_vc.dll could not be found. This warning never appeared with vs 87.2.
Surprisingly, after saying OK to the warning the plot is plotted.
I searched the web and found that recently someone reported a similar problem with matplotlib 87.4 and this library to the enthon team. I searched my hard disk and I found this library in the support directory of wxGlade(!!!???). I put this library in the Python24 directory and the warning disappeared but then I got a new one:

C:\>python text.py

Traceback (most recent call last):
  File "text.py", line 6, in ?
    show()
  File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wx.py", line 1
193, in show
    figwin.canvas.draw()
  File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wxagg.py", lin
e 63, in draw
    self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None)
MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the wx.Bitmap

I have the same problem with version 87.3. The problem only appears if I want to use WXAgg.
I went back to vs87.2 and everything works as expected.

Could someone help me?

Thanks
Joaquin

···

_________________________________________________________________
�Est�s pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/

Matplotlib didn't used to link against the wxpython c-api. The recent
versions are linked against the unicode version of wx, not the ansi.
You can install the unicode version. We are trying to decide how to
handle this.

- Charlie

···

On 8/12/06, Joaquin Abian Monux <gatoygata@...32...> wrote:

Dear all,
I upgraded matplotlib from 0.87.2.win32-py2.4 to 0.87.4. When trying to run
the test program

#program text.py
import matplotlib as mpl
mpl.use('WXAgg')
mpl.interactive(False)
from pylab import plot, show
plot([1,2,3,4])
show()

double clicking on it or at the command line I got a warning from python.exe
saying that library wxmsw26uh_vc.dll could not be found. This warning never
appeared with vs 87.2.
Surprisingly, after saying OK to the warning the plot is plotted.
I searched the web and found that recently someone reported a similar
problem with matplotlib 87.4 and this library to the enthon team. I searched
my hard disk and I found this library in the support directory of
wxGlade(!!!???). I put this library in the Python24 directory and the
warning disappeared but then I got a new one:

C:\>python text.py

Traceback (most recent call last):
  File "text.py", line 6, in ?
    show()
  File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wx.py",
line 1
193, in show
    figwin.canvas.draw()
  File "C:\Python24\Lib\site-packages\matplotlib\backends\backend_wxagg.py",
lin
e 63, in draw
    self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None)
MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the
wx.Bitmap

I have the same problem with version 87.3. The problem only appears if I
want to use WXAgg.
I went back to vs87.2 and everything works as expected.

Could someone help me?

Thanks
Joaquin

_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
MSN Motor. http://motor.msn.es/researchcentre/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options