Skip to content

Instantly share code, notes, and snippets.

@Mlawrence95
Created December 16, 2019 17:24
Show Gist options
  • Save Mlawrence95/f826e37bee305c19c09cac8fa9ffde4c to your computer and use it in GitHub Desktop.
Save Mlawrence95/f826e37bee305c19c09cac8fa9ffde4c to your computer and use it in GitHub Desktop.
matplotlib allows you to set plot parameters via a param dict. Here's one such example
import matplotlib.pyplot as plt
params = {'legend.fontsize': 'x-large',
'figure.figsize': (15, 15),
'axes.labelsize': 'x-large',
'axes.titlesize': 'x-large',
'xtick.labelsize': 'x-large',
'ytick.labelsize': 'x-large'}
plt.rcParams.update(params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment