mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Simplify Point.set_location
This commit is contained in:
parent
d4c89e520f
commit
1f3b058aa9
1 changed files with 1 additions and 1 deletions
|
@ -1461,4 +1461,4 @@ class Point(Mobject):
|
|||
return self.get_location()
|
||||
|
||||
def set_location(self, new_loc):
|
||||
self.set_points(np.array(new_loc, ndmin=2, dtype=float))
|
||||
self.set_points([new_loc])
|
||||
|
|
Loading…
Add table
Reference in a new issue