mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-05-17 10:45:54 +08:00
13 lines
354 B
Python
13 lines
354 B
Python
from manim import *
|
|
from manim_ml.utils.mobjects.probability import GaussianDistribution
|
|
|
|
|
|
class TestShowGaussian(Scene):
|
|
def construct(self):
|
|
axes = Axes()
|
|
self.add(axes)
|
|
gaussian = GaussianDistribution(
|
|
axes, mean=np.array([0.0, 0.0]), cov=np.array([[2.0, 0.0], [0.0, 1.0]])
|
|
)
|
|
self.add(gaussian)
|