On Wed, Jul 29, 2009 at 9:05 PM, Christian Lerrahn<li...@penpal4u.net> 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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to