Having my system prepped with homebrew and using pip install matplotlib after successful installation of numpy and scipy, I\'m getting a successful installation
If you install yolk, you can see with
yolk -V matplotlib
that version 1.3.1 of matplotlib is available. But pip won't let you install it because it is managed externally. The solution is to do:
pip install -Iv https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz
At first it didn't work for me though because of a problem with true type fonts. but I just had to google for the error message to find the solution on stackoverflow, which is to do the following before installing matplotlib:
ln -s /usr/local/opt/freetype/include/freetype2 /usr/local/include/freetype