Re: pylab without X11
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.
.
Relevant Pages
- Re: Re: pylab without X11
... Allthough a problem there is that with the backend Agg you only can write the resulting image to a file or a file like object, it does not accept the request handler to write the file to. ... An example of matplotlibrc: ... to generate onthefly graphics for an apache2 web service, so they do not have to be displayed on this machine! ... I tried setting the DISPLAY environment variable to "", ":0.0" but I got the same error message. ... (comp.lang.python) - Re: How Do I Get My Changed Table Relationships To Be Updated in the linked Front end?
... of each such table, one in the frontend, one in the backend!!! ... I have a form that is bound to my parent table [Pending Tickets] and I ... they will get an error message stating: ... If the user enters data in both the parent form and the child form, ... (microsoft.public.access.forms) - Re: If Hidden BackEnd BE not found then supress error revealing its location?
... ERROR MESSAGE I'm receiving: ... code runs in the Form_Open and I recieve the error message. ... david epsom dot com dot au wrote: ... I have hidden the BackEnd. ... (comp.databases.ms-access) - Re: Error 3075
... Wayne Morgan ... MS Access MVP ... > I have a normal application split into a frontend and backend. ... I get the error message 3075 "Syntax error ... (comp.databases.ms-access) - file in use, could not use
... I have two databases that are both linked to the same backend table. ... ..but the error message appears when I run any queries linked to the table. ... I haven't a clue. ... (comp.databases.ms-access) |
|