pylab without X11
marc
gtitus_ at _wanadoo.fr
Tue Sep 30 16:53:48 EDT 2008
More information about the Python-list mailing list
Tue Sep 30 16:53:48 EDT 2008
- Previous message (by thread): pylab without X11
- Next message (by thread): pylab without X11
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This may help you ... or not You may have to change your backend : p13 of the matplotlib user guide: backends p17 how to change the backend in the matplotlibrc An example of matplotlibrc ( backend choice is at the beginning ): http://matplotlib.sourceforge.net/matplotlibrc You may choose PS or SVG or pdf, there might be other possibilities, I do not know To save the file : savefig Marc Willem-Jan Vriend a écrit : > I want to use pylab (matplotlib) on a machine without X11. I'm trying to > generate onthefly graphics for an apache2 web service, so they do not > have to be displayed on this machine ! > > When i do > pylab.figure() > I get the error > TclError: couldn't connect to display ":0.0" > > I tried setting the DISPLAY environment variable to "", ":0.0" but I got > the same error message. > > Any help is very much appreciated.
- Previous message (by thread): pylab without X11
- Next message (by thread): pylab without X11
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list