mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Remove old-style method building from ExampleScenes
This commit is contained in:
parent
a09c440281
commit
57b7af3bf1
1 changed files with 0 additions and 4 deletions
|
@ -77,10 +77,6 @@ class AnimatingMethods(Scene):
|
||||||
# ".animate" syntax:
|
# ".animate" syntax:
|
||||||
self.play(grid.animate.shift(LEFT))
|
self.play(grid.animate.shift(LEFT))
|
||||||
|
|
||||||
# Alternatively, you can use the older syntax by passing the
|
|
||||||
# method and then the arguments to the scene's "play" function:
|
|
||||||
self.play(grid.shift, LEFT)
|
|
||||||
|
|
||||||
# Both of those will interpolate between the mobject's initial
|
# Both of those will interpolate between the mobject's initial
|
||||||
# state and whatever happens when you apply that method.
|
# state and whatever happens when you apply that method.
|
||||||
# For this example, calling grid.shift(LEFT) would shift the
|
# For this example, calling grid.shift(LEFT) would shift the
|
||||||
|
|
Loading…
Add table
Reference in a new issue