Skip to content

Instantly share code, notes, and snippets.

@luminoso
Last active February 28, 2020 15:59
Show Gist options
  • Save luminoso/a6311ee743bab1101f1b1d870c5949f4 to your computer and use it in GitHub Desktop.
Save luminoso/a6311ee743bab1101f1b1d870c5949f4 to your computer and use it in GitHub Desktop.
jupyterbook init magics
# auto reload modules/files
%load_ext autoreload
%autoreload 2
# print execution times
%load_ext autotime
# interactive matplotlib outputs
%matplotlib inline
# print all outputs
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
# supress pandas warnings
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment