Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change to banner defaults

Grant Sanderson96e670b4aa4c
diff --git a/manimlib/for_3b1b_videos/common_scenes.py b/manimlib/for_3b1b_videos/common_scenes.py
index 4eb1241e6..6b6869068 100644
--- a/manimlib/for_3b1b_videos/common_scenes.py
+++ b/manimlib/for_3b1b_videos/common_scenes.py
@@ -307,6 +307,7 @@ class Banner(Scene):
"date": "Sunday, February 3rd",
"message_scale_val": 0.9,
"add_supporter_note": False,
+ "pre_date_text": "Next video on ",
}
def __init__(self, **kwargs):
@@ -363,7 +364,8 @@ class Banner(Scene):
def get_date_message(self):
return TextMobject(
- "Next video on ", self.date,
+ self.pre_date_text,
+ self.date,
tex_to_color_map={self.date: YELLOW},
)