A community-maintained Python framework for creating mathematical animations.
clean up code
Syrus Dark0de803abc2a5
diff --git a/manim/mobject/svg/code_mobject.py b/manim/mobject/svg/code_mobject.pyindex 02986ec09..d0a3c8065 100644--- a/manim/mobject/svg/code_mobject.py+++ b/manim/mobject/svg/code_mobject.py@@ -306,6 +306,7 @@ class Code(VGroup):"""Function to generate html string with code highlighted and stores in variable html_string."""file = open(self.file_path, "r")code_str = file.read()+ file.close()self.html_string = hilite_me(code_str,self.language,diff --git a/manim/mobject/svg/text_mobject.py b/manim/mobject/svg/text_mobject.pyindex 723cb38ff..39dbe14d3 100644--- a/manim/mobject/svg/text_mobject.py+++ b/manim/mobject/svg/text_mobject.py@@ -733,9 +733,7 @@ class Text(SVGMobject):self.remove_last_M(file_name)SVGMobject.__init__(self, file_name, **config)self.text = text- print("hi")if self.disable_ligaratures:- print("yes")self.submobjects = [*self.gen_chars()]self.chars = VGroup(*self.submobjects)self.chars = VGroup(*self.submobjects)