Hi Gary,

On 13.03.06, Gary wrote:
> Thanks for the reply. BTW, this is my second time around trying to learn 
> PyX.  The first time I tried something too ambitious, and got very 
> confused.  Learning PyX seems to require a slow period of osmosis.

I understand this, but on the other hand you also get a rather
powerful system as a reward.

> But consider this:
> 
> from pyx import *
> c = canvas.canvas()
> c.stroke(path.line(0,0,3,2),[deco.barrow,deco.earrow, deco.text("hello")])
> c.writeEPSfile("darrow")
> 
> Traceback (most recent call last):
>  File "<stdin>", line 3, in ?
> AttributeError: 'module' object has no attribute 'text'
> 
> deco does not have a method or attribute called "text".  Did you have 
> something different in mind?

The text decorator is just present in the SVN version, i.e., it's not
yet released. Oh well, see my previous mail somewhere in this thread;
we're strongly violating the release earlier, release often paradigm.
But I suppose that's what happens if time is a scarce resource.

        Jörg


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to