from manim import *
import numpy as np
class VectorArrow(Scene):
    def construct(self):
        dot = Dot(ORIGIN)
        arrow = Arrow(ORIGIN, [2, 2, 0], buff=0)
        numberplane = NumberPlane()
        origin_text = Text('(0, 0)').next_to(dot, DOWN)
        tip_text = Text('(2, 2)').next_to(arrow.get_end(), RIGHT)
        self.play(*[FadeIn(_o) for _o in [numberplane, dot, arrow, origin_text, tip_text]], run_time=1.0)
        self.wait(1)
        self.wait(3.60)