ChipWhisperer Setup :Javascript Error: IPython is not defined

I recently ran into the same issue after manually installing a fresh version of ChipWhisperer from GitHub in an Ubuntu VM. It seems that notebook version 7 is based on JupyterLab and does not support the “%matplotlib notebook” magic to enable interactive plots.
I was able to ‘fix’ this by installing ipympl into my cw pyenv

(cw) vm:~/chipwhisperer$ pip install ipympl

and replacing

%matplotlib notebook

with

%matplotlib widget

in the Jupyter notebook code.