I\'m an ubuntu 16.4 user and I installed anaconda3 and using both python2 and python3 kernels.
>>>jupyter kernelspec list Available kernels: pyt
I got around it with typing the following command in the terminal:
conda install matplotlib
This will download the matplotlib package into your anaconda directory.