These are good default parameters for plots intended for journal papers. Figures will be saved as pdfs by default.
```
import matplotlib
from cycler import cycler
import matplotlib.pyplot as plt
import torch
import numpy as np
import math
import scipy
matplotlib.rcParams.update({
'pgf.texsystem': 'pdflatex',
'pdf.fonttype': 42,
'ps.fonttype': 42,
'text.usetex': True,
'axes.prop_cycle': cycler(color=['#E69F00', '#56B4E9', '#009E73',
'#F0E442', '#0072B2', '#D55E00', '#CC79A7']),
'font.family': 'serif',
'font.serif': ['Computer Modern Roman'],
'figure.figsize': (3.25, 2.5),
'figure.autolayout': True,
'figure.dpi': 300,
'font.size' : 9,
'figure.titlesize': 10,
'axes.labelsize': 9,
'axes.titlesize': 10,
'xtick.labelsize': 9,
'ytick.labelsize': 9,
'legend.fontsize': 9,
'axes.grid': False,
'grid.linewidth': 0.5,
'grid.color': 'lightgray',
'savefig.bbox': 'tight',
'savefig.pad_inches': 0.01,
'savefig.format': 'pdf',
'savefig.dpi': 300,
'savefig.transparent': True,
'lines.linewidth': 1.0,
'lines.markersize': 4,
'legend.frameon': False,
'legend.loc': 'best',
})
```