Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Made ORIGIN default center of PointDotMobject

Grant Sanderson96b48388dd60
diff --git a/mobject/point_cloud_mobject.py b/mobject/point_cloud_mobject.py
index adcbf0b10..893fb47d5 100644
--- a/mobject/point_cloud_mobject.py
+++ b/mobject/point_cloud_mobject.py
@@ -184,7 +184,7 @@ class PointCloudDot(Mobject1D):
"density" : DEFAULT_POINT_DENSITY_1D,
"color" : YELLOW,
}
- def __init__(self, center, **kwargs):
+ def __init__(self, center = ORIGIN, **kwargs):
Mobject1D.__init__(self, **kwargs)
self.shift(center)