Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed typo and improved example in building blocks tutorial (#2436)

AnonymoZ6a636ff04ad4
diff --git a/docs/source/tutorials/building_blocks.rst b/docs/source/tutorials/building_blocks.rst
index 5b5c60f73..f38aedf02 100644
--- a/docs/source/tutorials/building_blocks.rst
+++ b/docs/source/tutorials/building_blocks.rst
@@ -228,7 +228,6 @@ your scene by calling the :meth:`~.Scene.play` method.
class SomeAnimations(Scene):
def construct(self):
square = Square()
- self.add(square)
# some animations display mobjects, ...
self.play(FadeIn(square))
@@ -276,7 +275,7 @@ the use of :meth:`.animate`.
:meth:`.animate` is a property of all mobjects that animates the methods that come
afterward. For example, :code:`square.set_fill(WHITE)` sets the fill color of
-the square, while :code:`sqaure.animate.set_fill(WHITE)` animates this action.
+the square, while :code:`square.animate.set_fill(WHITE)` animates this action.
Animation run time
==================