from manim import *
import numpy as np
from numpy import array
run_time = 1
def dot(pos, **kwargs):
    return Dot(pos, **kwargs)
data = [
    ["90", "100", "60"],
    ["66", "78", "83"],
]
cols = [Text("小红"), Text("小华"), Text("小明")]
rows = [Text("语文"), Text("数学")]
class T041_02(Scene):
    def construct(self):
        sc = self
        t = Table(data, arrange_in_grid_config={'cell_alignment': RIGHT})
        objs = [Table(data, arrange_in_grid_config={'cell_alignment': LEFT}), t]
        g = VGroup(*objs).arrange(DOWN, buff=0.5)
        if g.width > 12: g.scale(12.0 / g.width)
        self.play(*[FadeIn(_o) for _o in [g]], run_time=1.0)
        self.play(FadeIn(g))
        self.wait(0.5)
        self.wait(3.10)