Created
May 6, 2024 00:24
-
-
Save brayevalerien/21a86449b6536703dd378374559ee05f to your computer and use it in GitHub Desktop.
Publication ready pyplot theme (thanks to @aeturrell)
This file contains 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
plot_settings = {'ytick.labelsize': 16, | |
'xtick.labelsize': 16, | |
'font.size': 22, | |
'figure.figsize': (10, 5), | |
'axes.titlesize': 22, | |
'axes.labelsize': 18, | |
'lines.linewidth': 2, | |
'lines.markersize': 3, | |
'legend.fontsize': 11, | |
'mathtext.fontset': 'stix', | |
'font.family': 'STIXGeneral'} | |
plt.style.use(plot_settings) # apply defined settings to current pyplot style |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment