"johann cohen-tanugi" <[EMAIL PROTECTED]> writes: > Actually, I have other problems : I cannot save in many formats. The > bmp is deemed usueless by gimp,
I didn't even know you can save in bmp format. Does png format work better? > and ps and eps save options gives the following > error message (I am using matplotlib-0.90 on python/ipython 2.4) : > In [1]: show() > --------------------------------------------------------------------------- > exceptions.ValueError Traceback (most recent > call last) [...] > /usr/lib/python2.4/site-packages/matplotlib/mathtext.py in _get_info(self, > font, sym, fontsize, dpi) > 748 num = 0 > 749 sym = '.notdef' > --> 750 raise ValueError('unrecognized symbol "%s, %d"' % (sym, > num) ) > 751 filename = os.path.join(self.basepath, basename) + '.ttf' > 752 if filename not in bakoma_fonts: > > ValueError: unrecognized symbol ".notdef, 0" Not a very useful error message, given that it sets the values of the sym and num variables just before reporting the error. In current svn the line corresponding to your 749 is commented out, so if you could try either with the svn version or just comment out the line in your version, you would get a more useful diagnostic. The code looks like if latex_to_bakoma.has_key(sym): ... elif len(sym) == 1: ... else: ... raise ValueError(...) so it looks like you have used a symbol that mathtext doesn't know about and that isn't a single letter. I'm guessing that could mean a misspelled backslash command or a parsing problem like I mentioned in my previous email where "\tilde{}" is seen as "\tild". -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users