Having my system prepped with homebrew and using pip install matplotlib
after successful installation of numpy and scipy, I\'m getting a successful installation
Using Matplotlib in OSX can give you problems. In this page, they say:
The build situation on OSX is complicated by the various places one can get the libpng and freetype requirements (darwinports, fink, /usr/X11R6) and the different architectures (e.g., x86, ppc, universal) and the different OSX version (e.g., 10.4 and 10.5).
In the official page of Matplotlib they recommend to use the mkpg installer:
The mkpg installer will have a “zip” extension, and will have a name like matplotlib-1.2.0-py2.7-macosx10.5_mpkg.zip. The name of the installer depends on which versions of python, matplotlib, and OSX it was built for. [...] install to a directory like /Library/Python/2.7/site-packages/ (exact path depends on your python version).
In the OSX-Notes Section you have more information about this installing.
Edited:
I haven't found any MPKG but you can use this DMG.