Re: [Matplotlib-users] Crash on import with CGI wrapped by PHP--unhappywith .matplotlib directory?

2008-08-02 Thread Rodney Haynie
Jonathan, If you did not get a response by now, you can try the following. import os# set HOME environment variable to a directory the httpd server can write to os.environ[ 'HOME' ] = 'c:/www/app/tmp/' Good luck. -Rodney _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Matplotlib-users] Png stream through Stdout to the web (Answer)

2008-05-19 Thread Rodney Haynie
es. -Rodney -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodney Haynie Sent: Monday, May 19, 2008 10:21 PM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Png stream through Stdout to the web Sorry, my file name is stdout.py, in

Re: [Matplotlib-users] Png stream through Stdout to the web

2008-05-19 Thread Rodney Haynie
Behalf Of Rodney Haynie Sent: Monday, May 19, 2008 10:10 PM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] Png stream through Stdout to the web I could not find anywhere an example of exactly how I would call the py script and get the png to appear in a web page. I have

[Matplotlib-users] Png stream through Stdout to the web

2008-05-19 Thread Rodney Haynie
I could not find anywhere an example of exactly how I would call the py script and get the png to appear in a web page. I have py scripts working for cgi, which is great. So I placed my simple script in the cgi-bin folder and I tried calling it directly: Localhost/cgi-bin/stdoutTest.py No image f

Re: [Matplotlib-users] Help sending a PNG from matplotlib to stdout

2008-05-19 Thread Rodney Haynie
From: John Hunter [mailto:[EMAIL PROTECTED] Sent: Saturday, May 17, 2008 4:56 PM> I believe this has been fixed on the maintenance branch (which will > become 0.91.3 shortly after the next release). You can get a svn > > checkout of this branch at > > svn co > https://matplotlib.svn.sourcefo

[Matplotlib-users] Help sending a PNG from matplotlib to stdout

2008-05-17 Thread Rodney Haynie
Having some issues getting a png to flow out to a web page. I am trying to use savefig( sys.stdout ), but I am getting an error. Well at least I can show the error when I run the script from a command prompt. I took most of the example from the matplotlib pdf file. I added a couple print statem