Skip to content

Instantly share code, notes, and snippets.

@ejokeeffe
Created June 4, 2020 09:42
Show Gist options
  • Save ejokeeffe/0feb9688a5efa2a48c7b85327a5ec422 to your computer and use it in GitHub Desktop.
Save ejokeeffe/0feb9688a5efa2a48c7b85327a5ec422 to your computer and use it in GitHub Desktop.
Set Default style with seaborn at top of Jupyter Notebook
#hide
%matplotlib inline
import seaborn as sns
import matplotlib.pyplot as plt
sns.set()
sns.set_context('talk',font_scale=0.7, rc={"lines.linewidth": 1.5})
sns.set_style("whitegrid")
sns.set_color_codes("dark")
sns.set_palette(sns.color_palette("Set1", n_colors=8, desat=.5))
%config InlineBackend.figure_format = 'retina'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment