stefanuddenberg
12/14/2018 - 8:45 AM

Jupyter Notebook -- Imports for Data Science

%reset -f
%matplotlib inline
%config InlineBackend.figure_format = "retina" # High-res graphs (rendered irrelevant by svg option below)
%config InlineBackend.print_figure_kwargs = {"bbox_inches": "tight"} # No extra white space
%config InlineBackend.figure_format = "svg" # 'png' is default

import warnings
warnings.filterwarnings("ignore") # Because we are adults
from IPython.core.debugger import set_trace
import janitor
import matplotlib.pyplot as plt
import numpy as np
from palettable.tableau import Tableau_10
import pandas as pd
from pathlib import Path
import pingouin as pg
import seaborn as sns
from dfply import *

# iPyPublish imports
# from ipypublish.scripts.ipynb_latex_setup import *
# from IPython.display import SVG, display, Markdown

sns.set_style("ticks")
sns.set_palette(Tableau_10.mpl_colors)