Fix Point.set_location

This commit is contained in:
Grant Sanderson 2021-01-15 11:10:57 -10:00
parent 4e4a7b9886
commit c698c6ea44

View file

@ -1464,4 +1464,4 @@ class Point(Mobject):
return self.get_location()
def set_location(self, new_loc):
self.set_points([new_loc])
self.set_points(np.array(new_loc, ndmin=2, dtype=float))