Last active
August 27, 2021 14:38
-
-
Save jrwrigh/0dbfdcfd11de12bf210d4cf689f5094a to your computer and use it in GitHub Desktop.
Common addition to notebook files to set Matplotlib config options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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