|
From: John H. <jd...@gm...> - 2009-07-30 02:10:57
|
On Wed, Jul 29, 2009 at 9:05 PM, Christian Lerrahn<li...@pe...> wrote:
>> Why not::
>>
>> import matplotlib
>> matplotlib.use('Agg')
>>
>> Then you have a full featured mpl backend w/ no GUI or X requirements.
>
> Thanks for that! I had overlooked that backend. It seems to do the
> trick perfectly. :)
Great -- take a look at
http://matplotlib.sourceforge.net/faq/installing_faq.html#backends
which will explain the situation in much more detail. Also, the FAQ
http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server
is useful even if you are not writing a webapp server, since the
issues of working in a non-X environment are similar to your case.
JDH
|