Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix for labels in area model 2

Ben Hambrechtbcf90c2b89a7
diff --git a/active_projects/eop/chapter1.py b/active_projects/eop/chapter1.py
index 75e0381fb..af5ed99a5 100644
--- a/active_projects/eop/chapter1.py
+++ b/active_projects/eop/chapter1.py
@@ -802,7 +802,12 @@ class IllustrateAreaModel2(GraphScene):
color = YELLOW,
animated = False
)
-
+ # don't show the labels just yet
+ self.remove(
+ self.left_T_label_group[0],
+ self.right_T_label_group[0],
+ )
+
def integral_update_func(t):
return scipy.special.erf(
self.point_to_coords(self.right_v_line.get_center())[0]