On 04/25/2012 04:06 PM, Alejandro Weinstein wrote: > I use the following setup (under Ubuntu, in case that matters): > > params = {'backend': 'Agg', > 'ps.usedistiller' : 'xpdf', > 'text.usetex' : True, > 'font.family': 'serif', > 'font.serif' : ['Times'], > } > mpl.rcParams.update(params) This looks much better indeed. I played around a bit and found that only the removal of the default serif fonts was needed to fix the appearance.
Using these options 'text.usetex' : True, 'font.family': 'serif', 'font.serif' : [], everything looks fine now. It seems that there is some default font that messes up the latex output. Bug? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users