Useful syntax/command

Posted on April 14, 2017 in Notes • 1 min read

jupyter notebook

display multiple outputs

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"

cell with larger width

from IPython.core.display import display, HTML
display(HTML("<style>.container { width:90% !important; }</style>"))