I am taking a course on linear algebra and I want to visualize the vectors in action, such as vector addition, normal vector, so on.
For instance:
All nice solutions, borrowing and improvising for special case -> If you want to add a label near the arrowhead:
arr = [2,3] txt = “Vector X” ax.annotate(txt, arr) ax.arrow(0, 0, *arr, head_width=0.05, head_length=0.1)