A community-maintained Python framework for creating mathematical animations.
Fixed one last bad import
Philipp Imhof59fa6c53743b
diff --git a/manim/utils/tex_file_writing.py b/manim/utils/tex_file_writing.pyindex 4e351ce08..3ab8f6f9f 100644--- a/manim/utils/tex_file_writing.py+++ b/manim/utils/tex_file_writing.py@@ -3,8 +3,7 @@ import hashlibfrom pathlib import Path-import manim.constants as consts-+from .. import constantsfrom .. import dirsfrom ..logger import logger@@ -16,7 +15,7 @@ def tex_hash(expression):return hasher.hexdigest()[:16]def tex_to_svg_file(expression, source_type):- tex_template = consts.TEX_TEMPLATE+ tex_template = constants.TEX_TEMPLATEtex_file = generate_tex_file(expression, tex_template, source_type)dvi_file = tex_to_dvi(tex_file, tex_template.use_ctex)return dvi_to_svg(dvi_file, use_ctex=tex_template.use_ctex)