Hi,

Some time ago I tried to upgrade from an old version of mpl 0.99 to 1.0 
but couldn't get it to work with py2exe and running on a Athlon PC.

I finally got around to upgrade things and have another go at this.

I am now on:
Python 2.7
Numpy 1.6.1  /arch nosse
mpl 1.2.0

I see a hard crash on the Athlon PC (i.e. no traceback and the MS Win 
error "App encountered a problem, do you want to report to MS".

Trying to narrow it down I don't think it has to do with numpy as I use 
it elsewhere in the app together with wxPython/FloatCanvas without any 
issue and when I track where the crash is happening with print 
statements it happens on this line:

         print 'plot panel 1'

         # initialize matplotlib stuff
         self.figure = mpl.figure.Figure(figsize=(5, 4), dpi=75,
                                         facecolor='white', 
edgecolor='white')
         print 'plot panel 2'

I still see the first print statement but not the second, my imports are 
as follows:

import matplotlib as mpl
mpl.use('WXAgg')
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as 
FigureCanvas

I know I don't provide a lot of information (at least not yet), but has 
anyone come across some similar crash with py2exe and mpl when one 
creates a Figure?

Any tips on how to further narrow this down or even better on what is 
needed to fix it are very welcome.

Best regards
Werner

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to