conda install matplotlib for python 2 code example
Example 1: install matplotlib conda
conda install -c conda-forge matplotlib
Example 2: conda install matplotlib
conda install matplotlib
conda install -c conda-forge matplotlib
conda install matplotlib