I had hard time getting the plot visualised using the packages provided by Anaconda. For info on the %matplotlib magic in JupyterLab, see: https://ipython.readthedocs ...
Jupyter Extension version (available under the Extensions sidebar): $ jupyter --version Selected Jupyter core packages... IPython : 9.3.0 ipykernel : 6.29.5 ipywidgets : 8.1.7 jupyter_client : 8.6.3 ...