<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear colleagues!<br>
I got all examples running (see my previous mail) by changing the source file <br>
<br>
/usr/local/lib/python2.7/dist-packages/pyfeyn/deco.py<br>
<br>
in the following way:<br>
<br>
1. In function getarrowpath I introduced argument constriction and removed "self" in its implementation:<br>
<br>
def getarrowpath(arrowtopath, selfpos, var1, selfsize, var2, constriction, constrictionlen):<br>
if pyxversion >= Version("0.12"):<br>
arrowpath = pyx.deco._arrowhead(arrowtopath, selfpos,<br>
1, selfsize, 45, constriction,<br>
constrictionlen)<br>
else:<br>
arrowpath = pyx.deco._arrowhead(arrowtopath, selfpos,<br>
1, selfsize, 45, constrictionlen)<br>
return arrowpath<br>
<br>
2. In the implementation of Arrow::decorate I added self.constriction to the arguments of getarrowpath<br>
arrowpath = getarrowpath(arrowtopath, self.pos*dp.path.arclen(),<br>
1, self.size, 45, self.constriction, constrictionlen)<br>
<br>
There was an apparent bug in the pyfeyn deco source code.<br>
<br>
Cheers,<br>
Viesturs<br>
</div>
</body>
</html>