Skip to content

Instantly share code, notes, and snippets.

@eifuentes
Last active March 12, 2021 19:39
Show Gist options
  • Save eifuentes/d3d2945ca8bf25915d703bef60aa9716 to your computer and use it in GitHub Desktop.
Save eifuentes/d3d2945ca8bf25915d703bef60aa9716 to your computer and use it in GitHub Desktop.
jupyter notebook top cell config
import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
%config Completer.use_jedi = False
sns.set_theme(
context="notebook", style="whitegrid", palette="colorblind", font_scale=1.5,
rc={"figure.figsize": (13, 8), "lines.linewidth": 1.5}
)
pd.set_option('display.max_rows', 500)
pd.set_option('display.max_columns', 500)
# don't forget you can use sns.despine() with style `ticks`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment