| 1 | initial version |
This primitive class gets used when the arrow2d function is called with a path keyword argument, so you should call that function instead of trying to use the class directly.
Alternatively: p.add_primitive(a)
| 2 | No.2 Revision |
This primitive class gets used when the arrow2d function is called with a path keyword argument, so you should call that function instead of trying to use the class directly.
Alternatively: The documentation refers to the p.add_primitive(a)arrow2dbezier_path documentation for how to specify the path argument. Example:
sage: parametric_pts = [(2*cos(-t), sin(-t)) for t in srange(0, 2*pi, step=0.01)]
sage: arrow2d(path=[[p] for p in parametric_pts])

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.