def set_rc_params(usetex=False):
    """
    Set the rcParams that will be used in all the plots.
    """

    rc_params = {
        #"axes.prop_cycle": cycler('color',
        #    ['#1b9e77','#d95f02','#7570b3',
        #     '#e7298a','#66a61e','#e6ab02',
        #     '#a6761d','#666666']),
        "axes.labelsize": 18,
        "figure.dpi": 150,
        "legend.fontsize": 12,
        "legend.frameon": False,
        "text.usetex": usetex,
        "xtick.direction": 'in',
        "xtick.labelsize": 14,
        "xtick.minor.visible": True,
        "xtick.top": True,
        "ytick.direction": 'in',
        "ytick.labelsize": 14,
        "ytick.minor.visible": True,
        "ytick.right": True,
    }

    return rc_params