VectorizedPoint should call __init__ for both super classes

This commit is contained in:
Grant Sanderson
2021-12-13 16:02:10 -08:00
parent 7fa01d5de8
commit 8f1dfabff0

View File

@ -1048,7 +1048,8 @@ class VectorizedPoint(Point, VMobject):
}
def __init__(self, location=ORIGIN, **kwargs):
super().__init__(**kwargs)
Point.__init__(self, **kwargs)
VMobject.__init__(self, **kwargs)
self.set_points(np.array([location]))