import matplotlib as mpl

# Configure MPL parameters (taken from https://github.com/jbmouret/matplotlib_for_papers)
def mpl_setup():
    params = {
        "text.usetex": True,
        "font.family": "serif",
        "axes.titlesize": 14,
        "axes.labelsize": 12,
        "font.size": 12,
        "legend.fontsize": 10,
        "xtick.labelsize": 10,
        "ytick.labelsize": 10
    }
    mpl.rcParams.update(params)
