Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Remove Transform(...).update(1) call from GraphScene

Grant Sandersoncc7c2cfb73cb
diff --git a/manimlib/scene/graph_scene.py b/manimlib/scene/graph_scene.py
index 88616b8f6..7d5dcf488 100644
--- a/manimlib/scene/graph_scene.py
+++ b/manimlib/scene/graph_scene.py
@@ -552,7 +552,7 @@ class GraphScene(Scene):
kwargs["dx"] = dx
kwargs["x"] = x
new_group = self.get_secant_slope_group(**kwargs)
- Transform(group, new_group).update(1)
+ group.become(new_group)
return group
self.play(