Made ORIGIN default center of PointDotMobject

This commit is contained in:
Grant Sanderson 2018-01-17 15:13:09 -08:00
parent cd2257ad65
commit 96b48388dd

View file

@ -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)