from manim import *
import numpy as np
from numpy import array, pi, cos, sin
run_time = 1
data = [[1, 2], [3, 4]]
def dot(pos, **kwargs):
    return Dot(pos, **kwargs)
class Z0098(Scene):
    def construct(self):
        sc = self
        axes = Axes(x_range=[-5, 5, 1], y_range=[-5, 5, 1], x_axis_config={'color': RED}, y_axis_config={'color': BLUE}, axis_config={'include_numbers': True, 'font_size': 20, 'include_tip': True, 'tip_shape': StealthTip, 'tip_length': 2})
        func = lambda x: x ** 2
        graph = axes.plot(func, x_range=[-2, 2], color=GREEN)
        self.play(Create(graph), run_time=run_time)
        func = lambda x: np.sin(x)
        graph = axes.plot(func, x_range=[-5, 5], color=YELLOW)
        self.play(Create(graph), run_time=run_time)
        self.wait(0.5)
        self.wait(3.10)