[matplotlib-devel] bug introduced in 0.87.3: subprocess error while saving eps
Sorry to bother you again, but I recently upgraded from 0.87.2 to 0.87.3, and cannot save eps files anymore. I get a 'subprocess' error.I am running Python 2.3, mpl 0.87.3, and TkAgg (although that shouldn't matter). Error occurs whether using toolbar or savefig to save.Here's the script and the errror. Has this been fixed in svn?>>> from pylab import *>>> plot([1,2,3])[]>>> savefig('c:/temp/test.eps')Traceback (most recent call last): File "", line 1, in ? savefig('c:/temp/test.eps') File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 811, in savefig return fig.savefig(*args, **kwargs) File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line 660, in savefig self.canvas.print_figure(*args, **kwargs) File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 184, in print_figure agg.print_figure(filename, dpi, facecolor, edgecolor, orientation, File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", line 481, in print_figure from backend_ps import FigureCanvasPS # lazy import File "C:\Python23\Lib\site-packages\matplotlib\backends\backend_ps.py", line 10, in ? from subprocess import Popen, STDOUT, PIPEImportError: No module named subprocess - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] bug introduced in 0.87.3: subprocess error while saving eps
Yes, this has been fixed. Mark Bakker wrote: > Sorry to bother you again, but I recently upgraded from 0.87.2 to > 0.87.3, and > cannot save eps files anymore. I get a 'subprocess' error. > I am running Python 2.3, mpl 0.87.3, and TkAgg (although that > shouldn't matter). > Error occurs whether using toolbar or savefig to save. > Here's the script and the errror. Has this been fixed in svn? > > >>> from pylab import * > >>> plot([1,2,3]) > [] > >>> savefig('c:/temp/test.eps') > Traceback (most recent call last): > File "", line 1, in ? > savefig('c:/temp/test.eps') > File "C:\Python23\Lib\site-packages\matplotlib\pylab.py", line 811, > in savefig > return fig.savefig(*args, **kwargs) > File "C:\Python23\Lib\site-packages\matplotlib\figure.py", line 660, > in savefig > self.canvas.print_figure(*args, **kwargs) > File > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_tkagg.py", > line 184, in print_figure > agg.print_figure(filename, dpi, facecolor, edgecolor, orientation, > File > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_agg.py", > line 481, in print_figure > from backend_ps import FigureCanvasPS # lazy import > File > "C:\Python23\Lib\site-packages\matplotlib\backends\backend_ps.py", > line 10, in ? > from subprocess import Popen, STDOUT, PIPE > ImportError: No module named subprocess > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > ___ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] backends
John Hunter wrote: > I've talked with Eric Jones many times about the desirability > of sharing a single low-level drawing model, probably based on > PDF/KIVA, that have backends for PS, SVG, PDF and one raster format > (eg Agg or Cairo). Just as a note, if you have Cairo, you have PS, PDF, SVG, raster, and, indeed, native draw-to-the-screen functionality. They're not all robust and complete, but it's seeing a lot of development. A robust, numpy-aware PyCairo would be really nice. In short, Cairo has essentially the same goals (plus a few more) as Kiva, except it's written in C. There's some discussion of using it in wxWidgets, and, of course, it's already used in newer GTKs. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] backends
> "Christopher" == Christopher Barker <[EMAIL PROTECTED]> writes: Christopher> Just as a note, if you have Cairo, you have PS, PDF, Christopher> SVG, raster, and, indeed, native draw-to-the-screen Christopher> functionality. Last I checked if I recall correctly, about a year ago, the PS backend merely dumped a raster image and didn't do real vector graphics. Has this changed? JDH - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] backends
> "John" == John Hunter <[EMAIL PROTECTED]> writes: John> Last I checked if I recall correctly, about a year ago, the John> PS backend merely dumped a raster image and didn't do real John> vector graphics. Has this changed? Looks like it has: http://lwn.net/Articles/189905 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel