|
From: Mogliii <mo...@gm...> - 2012-08-15 08:57:00
|
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,
'text.fontsize': 12,
'legend.fontsize': 12,
'xtick.labelsize': 10,
'ytick.labelsize': 10,
'text.usetex': True,
'figure.figsize': fig_size,
'axes.unicode_minus': True}
matplotlib.rcParams.update(params)
What do I have to change to match the font?
|