Created
September 17, 2014 19:32
-
-
Save danielballan/b88815e290ba55c1084a to your computer and use it in GitHub Desktop.
photo-activation-nation.mplstyle
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
# This is Dan Allan's setting of Professor Robert Leheny's plotting style preferences. | |
# Updated August 2014 | |
# | |
# Invoke in Python matplotlib like so: | |
# | |
# import matplotlib as mpl | |
# | |
# mpl.style.use('https://gist.github.com/danielballan/be066529de85e87a5fe7/raw') | |
# | |
# This feature is only available in matplotlib version 1.4 or higher. | |
# Plot area | |
figure.figsize: 10, 8 | |
figure.facecolor: white | |
figure.edgecolor: white | |
axes.facecolor : white | |
axes.grid: False | |
# Axes and ticks | |
axes.linewidth: 2 | |
axes.edgecolor: black | |
xtick.direction: in | |
ytick.direction: in | |
xtick.major.size: 10 | |
xtick.major.width: 2 | |
xtick.minor.size: 10 | |
xtick.minor.width: 2 | |
ytick.major.size: 10 | |
ytick.major.width: 2 | |
ytick.minor.size: 10 | |
ytick.minor.width: 2 | |
# Space xlabels lower than default. | |
xtick.major.pad: 20 | |
xtick.minor.pad: 20 | |
# Fonts and font sizes for various elements. | |
font.family: serif | |
font.serif: Computer Modern | |
text.usetex: True # All text will be in the LaTeX font. | |
font.size: 20 | |
axes.titlesize: 20 | |
axes.labelsize: 15 | |
xtick.labelsize: 20 | |
ytick.labelsize: 20 | |
legend.fontsize: 12 | |
image.cmap: gray | |
# Plot elements | |
lines.linewidth: 5 | |
lines.markersize: 18 | |
# savefig options (avoid clipping at margins) | |
savefig.bbox : tight | |
savefig.pad_inches : 0.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment