I am new to PyX and am trying to use it for illustrations in my
thesis. It seems really powerful.
I am trying to draw and arc with arrows on both ends to illustrate a
my script starts with
from pyx import *
and I later define
this works great for straight lines but when I try:
Traceback (most recent call last):
File "setup_pic.py", line 34, in ?
File "/usr/lib/python2.4/site-packages/pyx/canvas.py", line 241, in strok=
File "/usr/lib/python2.4/site-packages/pyx/canvas.py", line 227, in draw
dp =3D adeco.decorate(dp)
File "/usr/lib/python2.4/site-packages/pyx/deco.py", line 440, in decorat=
File "/usr/lib/python2.4/site-packages/pyx/deco.py", line 74, in
self.path =3D self.path.normpath()
AttributeError: 'arc' object has no attribute 'normpath'
Note that it works fine if I switch to
but then I have no arrows, which I really need.
Otherwise my illustration looks good.
How do I combined an arc with arrows?