using MPLCONFIGDIR in mod_python / web apps

Hello everyone,

Can't I set programmatically the home dir of Matplotlib by some function call of Matplotlib?

I'm sorry, but using environment variable is a bad design in web apps context: suppose several apps run in Apache virtual hosts, under *the same* user and they use Matplotlib. In consequence they all have to write to the same .matplotlib dir!

Regards,
mk