Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed errors introduced by stray print in MathTex (#1346)

Jason Villanuevac648260b62be
diff --git a/manim/mobject/svg/tex_mobject.py b/manim/mobject/svg/tex_mobject.py
index 7c29d42d9..5e1bda33c 100644
--- a/manim/mobject/svg/tex_mobject.py
+++ b/manim/mobject/svg/tex_mobject.py
@@ -479,9 +479,7 @@ class MathTex(SingleStringMathTex):
pieces.extend(re.split(pattern, s))
else:
pieces = tex_strings
- ret = [p for p in pieces if p]
- print(ret)
- return ret
+ return [p for p in pieces if p]
def break_up_by_substrings(self):
"""