# -*- coding: utf-8 -*-
"""
Created on Tue Feb 16 15:55:49 2021

@author: SpaceMeerkat
"""

# =============================================================================
# Import relevant packages
# =============================================================================

import matplotlib
matplotlib.use('Agg')

# =============================================================================
# Setup rcparams
# =============================================================================

def rcparams():
    matplotlib.rcParams.update({'font.size': 12}) # The plt.text only
    matplotlib.rcParams['legend.frameon'] = False
    matplotlib.rcParams['legend.fontsize'] = 12
    matplotlib.rcParams['axes.linewidth'] = 1.5
    matplotlib.rcParams['xtick.labelsize'] = 12;
    matplotlib.rcParams['ytick.labelsize'] = 12
    matplotlib.rcParams['xtick.major.size'] = 4;
    matplotlib.rcParams['ytick.major.size'] = 4
    matplotlib.rcParams['xtick.major.width'] = 0.5;
    matplotlib.rcParams['ytick.major.width'] = 0.5
    matplotlib.rcParams['xtick.minor.size'] = 2;
    matplotlib.rcParams['ytick.minor.size'] = 2
    matplotlib.rcParams['xtick.minor.width'] = 0.5;
    matplotlib.rcParams['ytick.minor.width'] = 0.5
    matplotlib.rcParams['xtick.direction'] = 'in';
    matplotlib.rcParams['ytick.direction'] = 'in'
    matplotlib.rcParams['xtick.bottom'] = True
    matplotlib.rcParams['ytick.left'] = True
    params = {'mathtext.default': 'regular'}
    matplotlib.rcParams.update(params)
    matplotlib.rcParams['axes.labelsize'] = 15
    return None

# =============================================================================
# End of script
# =============================================================================