A community-maintained Python framework for creating mathematical animations.
Fix typo in example.rst (#785)
Philipp Imhofb077a702ce0c
diff --git a/docs/source/examples.rst b/docs/source/examples.rstindex 208dfe3eb..3adcd9304 100644--- a/docs/source/examples.rst+++ b/docs/source/examples.rst@@ -258,9 +258,9 @@ Animationsdot = Dot()path.set_points_as_corners([dot.get_center(), dot.get_center()])def update_path(path):- previus_path = path.copy()- previus_path.add_points_as_corners([dot.get_center()])- path.become(previus_path)+ previous_path = path.copy()+ previous_path.add_points_as_corners([dot.get_center()])+ path.become(previous_path)path.add_updater(update_path)self.add(path, dot)self.play(Rotating(dot, radians=PI, about_point=RIGHT, run_time=2))