Chapter one

Setup


In [ ]:
# %load snippets/simple_setup.py
"""
Simple notebook set up
"""


import numpy as np
import pandas as pd
import matplotlib as plt
import sklearn

%matplotlib inline

# some basic plotting directives

plt.rcParams["figure.figsize"] = (16, 12)
%config InlineBackend.figure_format = "retina"

In [4]:
# %load snippets/seaborn.py
%%writefile snippets/seaborn.py
import seaborn as sns

sns.set(rc={"figure.figsize": (20, 12)})
sns.set_context("notebook", font_scale=1.1)


  File "<ipython-input-4-79b322e2d651>", line 2
    %%writefile snippets/seaborn.py
    ^
SyntaxError: invalid syntax

In [ ]:

Another Chapter


In [ ]: