I meant to send this to the list, not just to Brent...

---------- Forwarded message ----------
From: Warren Weckesser <[EMAIL PROTECTED]>
Date: Mon, Aug 18, 2008 at 4:03 PM
Subject: Re: [Matplotlib-users] Set MPLCONFIGDIR to something different
To: Brent Pedersen <[EMAIL PROTECTED]>


Hi,

On Mon, Aug 18, 2008 at 3:55 PM, Brent Pedersen <[EMAIL PROTECTED]> wrote:

> On Mon, Aug 18, 2008 at 8:25 AM, stuartornum <[EMAIL PROTECTED]> wrote:
> >
> > Hi Jeff,
> >
> > Sorry I should have explained more. I am running a web app also I
> currently
> > working for a very large organisation so the infrastructure is quite
> > different to your average home / signle server setup.
> >
> > Thank you.<https://lists.sourceforge.net/lists/listinfo/matplotlib-users>
> >
>
> i think before importing matplotlib, you can do:
> os.environ['HOME'] = "/some/path"
>
>
I do that on my server, e.g. my python CGI scripts do
    os.environ['HOME'] = '/var/www/tmp'
before importing anything from matplotlib. Seems to work fine.
This is explained in a FAQ or doc or tutorial somewhere.

Warren
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to