[Matplotlib-users] Matplotlib and latex using different typewriter font

2012-08-15 Thread Mogliii
I get the attached result. The \texttt{} is rendered differently by matplotlib and latex. I am using the default latex fonts, and below is my preamble. rc('font', **{'family':'serif', 'serif':['Computer Modern Roman']}) params = {'backend': 'pdf', 'axes.labelsize': 12,

Re: [Matplotlib-users] Matplotlib and latex using different typewriter font

2012-08-15 Thread mogliii
On 15/08/2012 09:56, Mogliii wrote: I get the attached result. The \texttt{} is rendered differently by matplotlib and latex. I am using the default latex fonts, and below is my preamble. rc('font', **{'family':'serif',