Darren Dale wrote:
>> the example
>>
>> from matplotlib.pyplot import *
>> text(0.5, 0.5, r'a \\ b')
>> savefig('test.eps')
>>
>> runs without error here -- and latex is calling pdftex:
>
> ... cup of coffee. ...
the example was not fair though as it wasn't using latex... this one is now:
from matplotlib import rcParams
params = {'backend': 'ps',
'text.usetex': True,
'ps.usedistiller': 'xpdf',
}
rcParams.update(params)
from matplotlib.pyplot import *
text(0.5, 0.5, r'a \newline{} b')
savefig('test.eps')
it does not crash (the version with '\\' does) but does not produce a
line break, either...
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
