Hello,
I'm having trouble saving eps or pdf versions of plots that have TeX
labels using matplotlib. When I try to save an EPS file, I get the message:
...
RuntimeError: ghostscript was not able to process your image.
Here is the full report generated by ghostscript:
(Author's note: No 'report' is actually printed)
When I try to save a PDF file, I get the message:
...
File
"C:\Python24\Lib\site-packages\matplotlib\backends\backend_pdf.py", line
1085, in get_canvas_
width_height
return d*self.file.width, d*self.file.height
AttributeError: PdfFile instance has no attribute 'width'
Does anyone have any suggestions for how to fix this? The TeX
labels work fine is I save as a PNG file. I saw an older thread
(http://www.mail-archive.com/[email protected]/msg03953.html
) that seems to address similar issues, but I don't understand the
solution (using XPDF distiller).
Thank you for your help,
--Jordan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users