You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this is not apparent in the documentation of the "arrow" command, it is implicitly assumed that dx, dy is the length of the arrow "without the head", and the length of the head is 0.0015 by default. This is why your result seems wrong.
You may try to fix this with by setting the head_length explicitly.
Activity
leejjoon commentedon Jul 10, 2011
While this is not apparent in the documentation of the "arrow" command, it is implicitly assumed that dx, dy is the length of the arrow "without the head", and the length of the head is 0.0015 by default. This is why your result seems wrong.
You may try to fix this with by setting the head_length explicitly.
arrow(3000, 5e-15, 0, 1e-15, head_length=5.e-16, width=100)
However, remember that "arrow" command draws the arrow in the data coordinate, and I recommend you to use command like "annotate" instead.
I consider this is a bug in the documentation and will commit fix soon.