A community-maintained Python framework for creating mathematical animations.
Fix BulletedList TeX environment problem and add a typing to get_module (#936)
kilacoda7fcbe9a6f33a
diff --git a/manim/mobject/svg/tex_mobject.py b/manim/mobject/svg/tex_mobject.pyindex a8364f9e9..a7ff6c1bf 100644--- a/manim/mobject/svg/tex_mobject.py+++ b/manim/mobject/svg/tex_mobject.py@@ -521,7 +521,9 @@ class BulletedList(Tex):self.dot_scale_factor = dot_scale_factorself.tex_environment = tex_environmentline_separated_items = [s + "\\\\" for s in items]- Tex.__init__(self, *line_separated_items, **kwargs)+ Tex.__init__(+ self, *line_separated_items, tex_environment=tex_environment, **kwargs+ )for part in self:dot = MathTex("\\cdot").scale(self.dot_scale_factor)dot.next_to(part[0], LEFT, SMALL_BUFF)diff --git a/manim/utils/module_ops.py b/manim/utils/module_ops.pyindex eafc30fbe..ce54904e1 100644--- a/manim/utils/module_ops.py+++ b/manim/utils/module_ops.py@@ -8,7 +8,7 @@ import typesimport re-def get_module(file_name):+def get_module(file_name: Path):if str(file_name) == "-":module = types.ModuleType("input_scenes")logger.info(