Having my system prepped with homebrew and using pip install matplotlib after successful installation of numpy and scipy, I\'m getting a successful installation
pip install matplotlib
Copy-Paste the following code in your terminal and press enter , it will show the version of matplotlib installed on your system ::
python import matplotlib print('matplotlib: {}'.format(matplotlib.__version__))