Created
November 23, 2019 10:16
-
-
Save alhoo/fc47eac884ca2eab9cd540bf8d34ebba to your computer and use it in GitHub Desktop.
This file contains hidden or 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
%%javascript | |
IPython.notebook.kernel.execute('nb_name = "' + IPython.notebook.notebook_name + '".replace(".ipynb", "")') | |
--- | |
from IPython.core.display import display, HTML | |
display(HTML("<style>.container { width:100% !important; </style>")) | |
%matplotlib inline | |
from matplotlib import pyplot as plt | |
%pylab inline | |
pylab.rcParams['figure.figsize'] = (20, 16) | |
nb_name = nb_name.replace(".ipynb", "") | |
import logging | |
FORMAT = '%(asctime)-15s %(levelname)s %(message)s' | |
logging.basicConfig(format=FORMAT) | |
logger = logging.getLogger(nb_name) | |
logger.setLevel(logging.INFO) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment