Jupyter

From
Jump to: navigation, search

Overview[edit]

Configuration[edit]

IPython[edit]

IPython has a number of magic commands to tweak and configure it's behaviour. They are generally invoked by a leading '%'.

  • Python: when working with external modules in a REPL or a notebook, reloading modifyed external modules can be a pain. IPython offers:
# activate automatic module reload upon execution
%load_ext autoreload

# configure such that all external module will be reloaded upon execution
%autoreload 2
  • Matplotlib: is a powerful library to generate plots in python. To enable inline plots in jupyter notebook
# activate inline plotting
%matplotlib inline