flavio.plots.config module
Default configuration options for matplotlib
"""Default configuration options for `matplotlib`""" from matplotlib import rc, rcParams rc('text', usetex=True) rc('font',**{'family':'serif', 'serif':['Computer Modern Roman','cmu serif']+rcParams['font.serif']}) rcParams['xtick.labelsize'] = 10 rcParams['ytick.labelsize'] = 10 rcParams['axes.labelsize'] = 14 rcParams['text.latex.preamble']=r"\usepackage{amsmath}"