mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fixed minor typos in example_scenes.py (#2351)
This commit is contained in:
parent
fd2a6a69e5
commit
e81dfab0e6
1 changed files with 2 additions and 2 deletions
|
@ -326,7 +326,7 @@ class UpdatersExample(Scene):
|
||||||
)
|
)
|
||||||
self.wait()
|
self.wait()
|
||||||
|
|
||||||
# In general, you can alway call Mobject.add_updater, and pass in
|
# In general, you can always call Mobject.add_updater, and pass in
|
||||||
# a function that you want to be called on every frame. The function
|
# a function that you want to be called on every frame. The function
|
||||||
# should take in either one argument, the mobject, or two arguments,
|
# should take in either one argument, the mobject, or two arguments,
|
||||||
# the mobject and the amount of time since the last frame.
|
# the mobject and the amount of time since the last frame.
|
||||||
|
@ -534,7 +534,7 @@ class TexAndNumbersExample(Scene):
|
||||||
rate_func=there_and_back,
|
rate_func=there_and_back,
|
||||||
)
|
)
|
||||||
|
|
||||||
# By default, tex.make_number_changeable replaces the first occurance
|
# By default, tex.make_number_changeable replaces the first occurrence
|
||||||
# of the number,but by passing replace_all=True it replaces all and
|
# of the number,but by passing replace_all=True it replaces all and
|
||||||
# returns a group of the results
|
# returns a group of the results
|
||||||
exponents = tex.make_number_changeable("2", replace_all=True)
|
exponents = tex.make_number_changeable("2", replace_all=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue