Tips and tricks for making your jupyter workflow more fluid.

Install extensions and themes

Enables various extensions, like toggleable headers and vim.

conda install -c conda-forge jupyter_contrib_nbextensions

Notebook themes

pip install jupyterthemes

You can find all the available themes here. I personally like to use:

jt -t grade3 --cellw 100%

Change identation level

Copy and paste the snippet on your browser console (ctrl+shift+i for Windows/Linux, command+option+i for MacOS)

var cell = Jupyter.notebook.get_selected_cell();
var config = cell.config;
var patch = {
      CodeCell:{
        cm_config:{indentUnit:2}
      }
    }
config.update(patch)