Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update manim/utils/tex_file_writing.py

Leo Torresa6b553cd8f3f
diff --git a/manim/utils/tex_file_writing.py b/manim/utils/tex_file_writing.py
index 905e259c1..cf3399ac9 100644
--- a/manim/utils/tex_file_writing.py
+++ b/manim/utils/tex_file_writing.py
@@ -184,7 +184,7 @@ def convert_to_svg(dvi_file, extension, page=1):
-------
:class:`str`
Path to generated SVG file.
- """
+ """
result = dvi_file.replace(extension, ".svg")
result = Path(result).as_posix()
dvi_file = Path(dvi_file).as_posix()