From: Christopher B. <Chr...@no...> - 2010-10-28 18:11:48
|
On 10/25/10 1:41 PM, Daniel Hyams wrote: > It doesn't really insist on it right? There are MATPLOTLIBDIR and > MPLCONFIGDIR environment variables. > You can set these env variables within your code, before import of > matplotlib via os.environment. I'm glad I've learned about this, and will start doing it with my bundled up apps -- but that does seem pretty un-pythonic -- shouldn't it be possible to set this sort of thing without resorting to that little round trip through environment variables? Not a big deal, but it feels kludgy. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |