Last active
February 28, 2020 15:59
-
-
Save luminoso/a6311ee743bab1101f1b1d870c5949f4 to your computer and use it in GitHub Desktop.
jupyterbook init magics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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