Skip to content

Instantly share code, notes, and snippets.

@mathurinm
Created May 24, 2018 09:41
Show Gist options
  • Save mathurinm/25cdbd26ad76cc0b6af3a9c77996ae4c to your computer and use it in GitHub Desktop.
Save mathurinm/25cdbd26ad76cc0b6af3a9c77996ae4c to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
from matplotlib import rc
import seaborn as sns
rc('font', **{'family': 'sans-serif',
'sans-serif': ['Computer Modern Roman']})
params = {'axes.labelsize': 12,
'font.size': 12,
'legend.fontsize': 12,
'xtick.labelsize': 10,
'ytick.labelsize': 10,
'text.usetex': True,
'figure.figsize': (8, 6)}
plt.rcParams.update(params)
sns.set_context("poster")
sns.set_style("ticks")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment