On 11/17/06, Asheesh Laroia <[EMAIL PROTECTED]> wrote: > On Fri, 17 Nov 2006, Timothy Wu wrote: > > > Must matplot be run with a backend installed suppose I only want to > > create a command line program and create plot and output as gif/jpg/png? > > Try the plain "Agg" backend rather than e.g. GTKAgg or TkAgg.
import matplotlib matplotlib.use('Agg') from pylab import * ..... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users