Skip to content

Instantly share code, notes, and snippets.

@pjbull
Last active September 11, 2015 13:34
Show Gist options
  • Save pjbull/e971e63807c67fa68263 to your computer and use it in GitHub Desktop.
Save pjbull/e971e63807c67fa68263 to your computer and use it in GitHub Desktop.
notebook header
from __future__ import division
# graphics
import matplotlib.pyplot as plt
from matplotlib import rc_params
mpl_default = rc_params()
import seaborn as sns
sns.set(rc=mpl_default)
# needs to be called after seaborn.set() ?!?!
%matplotlib inline
# needs to be called after %matplotlib inline to override ipython styles
plt.rcParams = mpl_default
# numbers
import pandas as pd
import numpy as np
pd.set_option("display.max_columns", 101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment