Hello, I'm a new user of matplotlib and I have to admit that
> I'm quite impressed and excited about it ! I'm currently
> trying to convince the whole company to switch from matlab
> to python (at least 200 users I think), and matplotlib is a
> big asset.
Good luck - is yours a software company? 200 new developers would be
a big help
> Extra content at the end of the document Could not load
> filename for text
> /users/m024234/local/share/matplotlib/Vera.ttf Traceback
Here is your problem. The font is not being loaded. First, in
matplotlib/backends/backend_agg.py on or around line 240, replace the
block
if font is None:
fname = fontManager.findfont(prop)
try: font = FT2Font(str(fname))
except RuntimeError, msg:
print >> sys.stderr, 'Could not load filename for text', \
fname
return None
else:
_fontd[key] = font
with
if font is None:
fname = fontManager.findfont(prop)
font = FT2Font(str(fname))
_fontd[key] = font
in other words, don't catch the exception. This may give you extra
information about what is going wrong.
I notice from your path above that you have installed matplotlib in a
nonstandard location. Have you set the MATPLOTLIB environment
variable, as described in the installing documentation on the web page
http://matplotlib.sf.net/installing.html?
Do you get the same traceback on win32?
Gladly-accepting-donationsly-yours,
JDH