Dear Darren,

I know "text.latex.preamble" is not supported, but since I upgraded to Matplotlib 0.91.1 my latex preamble code which was working perfectly well in 0.90.1, now gives my the follow errors (both on openSUSE & XP):

In [1]: run overlap_vs_concentrated.py
C:\Python\lib\site-packages\matplotlib\__init__.py:606: UserWarning: Bad val "\u
sepackage[cmex10]{amsmath},\usepackage{helvet},\usepackage{sansserifmath}" on li
ne #128
        "text.latex.preamble       : \usepackage[cmex10]{amsmath},\usepackage{he
lvet},\usepackage{sansserifmath}
"
        in file "c:\My Documents\My Publications\PEDS-2007\Paper_I\Presentation\
python\matplotlibrc"
        global name 'verbose' is not defined
  "%s"\n\t%s' % (val, cnt, line, fname, msg))

Has the syntax changed... or is this a bug...?

I also get this error message w.r.t. to "verbose" which isn't critical but annoying...

Kind regards,

Peter-Jan

Op 2007/05/18 18:05, het Alexander Schmolck die volgende geskryf:
Darren Dale <dd55@cornell.edu> writes:

  
Well, if ever there was a compelling use-case for an
undocumented/unsupported feature it would be this one, I think.
      
Alright, svn 3277 lets you add additional commands to the preamble:

text.latex.preamble : \usepackage{bm},\renewcommand{etc...}

See the default matplotlibrc file for more information.

THIS FEATURE IS NOT SUPPORTED. Please don't report problems on the mpl mailing 
lists without submitting a patch to fix them. 

Alex, please give this a spin. Tell me if it meets your needs, and if it 
doesnt, send a patch.
    

Great! Thanks for incorporating this! It fits my needs, but I sent a (mostly
unreleated) patch anyway (against 3278) :)

cheers,

'as

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users