From: Christian D. <chd...@de...> - 2008-11-09 11:52:15
|
Consider the example "minimal.py" with a minor mod at the last line : g.writePDFfile("minimal",title="Minimal") Although writePDFfile equates to pdfwriter.PDFwriter, and class PDFwriter allows a "title" parameter, one has the following error message : $python minimal.py Traceback (most recent call last): File "minimal.py", line 5, in <module> g.writePDFfile("minimal",title="Minimal") File "/usr/lib/python2.5/site-packages/pyx/canvas.py", line 327, in wrappedindocument d = document.document([document.page(self, *args, **kwargs)]) TypeError: __init__() got an unexpected keyword argument 'title' Am I wrong, is there a way around the problem? Thanks to all, Ch |