_.get_rgb() is a mistake, I've changed it to gc.get_rgb().
Using the latest cairo (git), pycairo (cvs) and matplotlib (svn) and
running examples/simple_plot.py I get a 22K PDF file. But when I try to
view it with evince and xpdf I get "unable to open document" type
The matplotlib cairo PDF backend relies on the cairo PDF backend.
The cairo PDF backend is relatively new, and is still being developed,
and I believe it currently only supports a limited set of fonts.
Send instant messages to your online friends http://au.messenger.yahoo.com
On Fri, 2006-03-03 at 09:30 -0800, email@example.com wrote:
What is the status of the cairo pdf backend? I installed it,
but got a python error at line 257 of backend_cairo.py.
_.get_rgb() doesn't make sense to me, so I changed it to
gc.get_rgb(). Now everything runs without error, but the
generated pdf file is 42Mb even for a simple plot. And there
is a font problem.