[Pythonmac-SIG] py2app question: path to included python

Christopher Barker Chris.Barker at noaa.gov
Wed Jun 7 20:23:22 CEST 2006

Russell E. Owen wrote:
> Although the last path is very convenient, by then matplotlib has looked 
> in all sorts of places I don't want it to look -- 

Is there no way to tell matplotlib where to look? There should be, for 
just this reason.

Personally, I'm not sure the matplotlibrc file is such a great idea 
anyway. I think perhaps a better approach would be to have sensible 
defaults, (which is does), and have the parameters all over-ridable 
(which I think they are), but NOT have it read an rc file be default, 
rather have the user specify one that they want read it, if they do:

import matplotlib

In fact, nothing would have to change, all we'd need is to add the 
loadrcfile method. That is, if there is nothing set on import that can 
not be changed after import. Indeed, that method may already exist.

I guess one of us should bring this up on the MPL list...


Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the Pythonmac-SIG mailing list