Skip to content

Commit 3d8980a

Browse files
author
Aron Fischer
committed
Remove unused argument regen_if_exists in tex_file_writing.
1 parent 6ccdb9f commit 3d8980a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

manim/utils/tex_file_writing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def compile_tex(tex_file, tex_compiler, output_format):
168168
return result
169169

170170

171-
def convert_to_svg(dvi_file, extension, regen_if_exists=False, page=1):
171+
def convert_to_svg(dvi_file, extension, page=1):
172172
"""Converts a .dvi, .xdv, or .pdf file into an svg using dvisvgm.
173173
174174
Parameters
@@ -177,8 +177,6 @@ def convert_to_svg(dvi_file, extension, regen_if_exists=False, page=1):
177177
File name of the input file to be converted.
178178
extension : :class:`str`
179179
String containing the file extension and thus indicating the file type, e.g. ``.dvi`` or ``.pdf``
180-
regen_if_exists : Optional[:class:`bool`], optional
181-
Setting if SVG has to be regenerated even if it already exists.
182180
page : Optional[:class:`int`], optional
183181
Page to be converted if input file is multi-page.
184182

0 commit comments

Comments
 (0)