Created
February 1, 2016 12:46
-
-
Save larsyencken/e71ae3957c18829d9536 to your computer and use it in GitHub Desktop.
IPython notebook theming with Seaborn
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
# avoid false precision on floating point numbers | |
%precision 3 | |
pd.set_option('display.precision', 3) | |
# use seaborn for nice theming | |
import seaborn as sns | |
# up the font sizes on graphs | |
sns.set_context("notebook", font_scale=1.5, rc={"lines.linewidth": 2.5}) | |
# use a dark grid background (the default) | |
sns.set_style('darkgrid') | |
# use a gentle colour palette | |
sns.set_palette('muted') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment