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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to