configure_latex_plots

texfigure.configure_latex_plots(pytex, font_size=12, **kwargs)[source]

Configure a sane set of latex defaults for pgf figure generation.

Parameters:

pytex : PythonTeX Utilites class.

The pytex class from the PythonTeX Session

font_size : float

The default font size for the following rcParams:

font.size
axes.labelsize
xtick.labelsize
ytick.labelsize
legend.fontsize

kwargs : dict

Extra keyword arguments are used to update matplotlib.rcParams.