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?

Because import is giving me errors seemingly in reference to x server:

from pylab import *
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ?
   from matplotlib.pylab import *
 File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 219, in
?
   new_figure_manager, draw_if_interactive, show = pylab_setup()
 File "/usr/lib/python2.4/site-packages/matplotlib/backends/__init__.py",
line 23, in pylab_setup
   globals(),locals(),[backend_name])
 File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
line 10, in ?
   from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
 File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line
7, in ?
   import gtk; gdk = gtk.gdk
 File "/var/lib/python-support/python2.4/gtk-2.0/gtk/__init__.py", line 45,
in ?
   from _gtk import *
RuntimeError: could not open display


Timothy
-------------------------------------------------------------------------
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

Reply via email to