Is this on your local machine or in the Coursera Online Labs?
- In my local machine first I installed jupyter and then matplotlib using PIP
its showing the error.
- If i use the VS code for Jupyter notebooks iworking fine.
Make sure to start the jupyter notebook from a directory / folder that has the whole project below it.