Running the script below in Terminal points to
import matplotlib
print(matplotlib.matplotlib_fname())
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
but running it in TextMate I get
/Users/myname/.matplotlib/matplotlibrc
What's controlling which matplotlibrc is used and how do I control it?
I installed the python-2.7 using brew.