this can be solved by adding ``` %matplotlib inline ``` at the beginning of the first cell of the notebook.