Matplotlib notebook ipython is not defined