-
-
Save ColCarroll/bb509ba8016fbbfe485ba6b89912452b to your computer and use it in GitHub Desktop.
My custom matplotlib stylesheet
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
lines.linewidth: 3 | |
lines.markerfacecolor: None | |
lines.markeredgewidth: 2 | |
lines.markersize: 8 | |
lines.solid_capstyle: butt | |
legend.fancybox: true | |
axes.prop_cycle: cycler('color', ['000000', '1b6989', 'e69f00', '009e73', 'f0e442','50b4e9', 'd55e00', 'cc79a7']) | |
axes.facecolor: fffff8 | |
axes.axisbelow: true | |
axes.labelsize: large | |
axes.titlesize: x-large | |
axes.grid: false | |
axes.linewidth: 1 | |
hist.bins: auto | |
xtick.major.size: 0 | |
ytick.major.size: 0 | |
xtick.minor.size: 0 | |
ytick.minor.size: 0 | |
font.family: serif | |
font.serif: Palatino, Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, DejaVu Serif | |
font.size: 14 | |
figure.constrained_layout.use: True | |
figure.facecolor: fffff8 | |
figure.figsize: 10.0, 7.0 | |
path.simplify: True | |
path.simplify_threshold: 1.0 | |
agg.path.chunksize: 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put this in
python -c 'import matplotlib, os; print(os.path.join(matplotlib.get_configdir(), "stylelib"))'
then use with
matplotlib.style.use('tufte')
looks like this: