Re: [Matplotlib-users] matplotlib and no gui

2009-07-29 Thread John Hunter
On Wed, Jul 29, 2009 at 9:05 PM, Christian Lerrahn 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. :) Gr

Re: [Matplotlib-users] matplotlib and no gui

2009-07-29 Thread Christian Lerrahn
On Wed, 29 Jul 2009 20:43:43 -0500 John Hunter wrote: > On Wed, Jul 29, 2009 at 7:33 PM, Christian > Lerrahn wrote: > > Hi, > > I'm trying to make a few matplotlib scripts work on a box without > > any X. However, I would like to change it as little as possible and > > therefore don't want to get

Re: [Matplotlib-users] matplotlib and no gui

2009-07-29 Thread John Hunter
On Wed, Jul 29, 2009 at 7:33 PM, Christian Lerrahn wrote: > Hi, > I'm trying to make a few matplotlib scripts work on a box without any > X. However, I would like to change it as little as possible and > therefore don't want to get rid of the pylab interface. > > I almost got it to work already by

[Matplotlib-users] matplotlib and no gui

2009-07-29 Thread Christian Lerrahn
Hi, I'm trying to make a few matplotlib scripts work on a box without any X. However, I would like to change it as little as possible and therefore don't want to get rid of the pylab interface. I almost got it to work already by just using the "dummy GUI", i.e. i use import matplotlib as m m.use(