Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

are whitespaces in docstrings really so important?

Aron73373595fa2e
diff --git a/manim/utils/tex_file_writing.py b/manim/utils/tex_file_writing.py
index 4f9e79468..80e9dec69 100644
--- a/manim/utils/tex_file_writing.py
+++ b/manim/utils/tex_file_writing.py
@@ -183,7 +183,8 @@ def convert_to_svg(dvi_file, extension, page=1):
Returns
-------
:class:`str`
- Path to generated SVG file."""
+ Path to generated SVG file.
+ """
result = dvi_file.replace(extension, ".svg")
result = Path(result).as_posix()
dvi_file = Path(dvi_file).as_posix()