Skip to content

Instantly share code, notes, and snippets.

@jrwrigh
Last active August 27, 2021 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrwrigh/0dbfdcfd11de12bf210d4cf689f5094a to your computer and use it in GitHub Desktop.
Save jrwrigh/0dbfdcfd11de12bf210d4cf689f5094a to your computer and use it in GitHub Desktop.
Common addition to notebook files to set Matplotlib config options
plt.rcParams.update({
'font.family': 'serif',
# 'font.serif': 'cmr10',
# 'mathtext.fontset': 'cm',
'font.serif': 'stixgeneral',
'mathtext.fontset': 'stix',
'axes.unicode_minus': False,
'font.size': 11,
'figure.dpi': 150,
'lines.linewidth': 0.5,
'axes.grid': True
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment