On Nov 3, 2009, at 3:08 PM, <phob...@geosyntec.com> <phob...@geosyntec.com > wrote: > -----Original Message----- > From: Tony S Yu [mailto:ton...@mit.edu]> >> Hi Paul, >> >> I think your matplotlibrc file should be put in: >> /Users/paul/.matplotlib >> >> -Tony > > Thanks Tony, I'll give that a shot. Shouldn't keeping it in my > current working directory work as well? One of the great things > about using the matplotlibrc file on my Windows machine is that I > can keep different files for different projects.
(Paul, I hope you don't mind if I bring this bump this back to the list). Apparently I skimmed your original email and didn't see that you tried putting the file in your working directory. That should work. (My original response is still appropriate for a global rc file.) As suggested on the mpl website (specifically: http://matplotlib.sourceforge.net/users/customizing.html ), you can try printing out the path of the rc file being used by adding the following to your script: >>> import matplotlib >>> print matplotlib.matplotlib_fname() Also, you may want to check that the working directory is where you think it is. For example, if you run a script from the terminal as: $ python ~/path/to/file.py Your working directory is '~' and not '~/path/to/'---so matplotlibrc file located in the same directory as file.py would not be in the working directory. Otherwise, I have no idea why the matplotlibrc is not being found in the working directory. Best, -Tony ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users