If you encounter matplotlib display problems in Jupyter lab or notebooks, this may be due to environment package errors if you are using conda or vitualenv. Commonly this error shows as ‘ModuleNotFoundError: No module named ‘ipympl’’ despite ipympl being installed in your active environment.

Python kernels can be displayed and easily changed within Jupyter by installing the kernelspec; this is easily done with conda using the nb_conda_kernels package. However some care must be taken to make sure that all is playing nicely together.

Consider the following I am running through a conda Python kernel, and notice how there is no…

Paddy Harrison

Researcher, coder

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store