manim/tests/module/mobject
Jason Grace 3962a12cd8
Added ability to remove non-svg LaTeX files (#3322)
* Added ability to remove latex junk (default True)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed tests (hopefully), and whitelisted .tex

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* reverted weird changes from merge

* See previous commit message

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed logs-too-long test

* Fixed log output

* Fixed typo ;)

* deleted unused variable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* moved latex deletion to tex_file_writing.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* removed changes in scene files

* Added caching based on LaTeX expression .svg

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Deleted unused function in delete_old_tex

* make if condition more readable

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* cleaned up svg file check

* changed blacklist -> whitelist for file endings

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Reverted docstring change

* Updated delete_non_svg files docstring

* Changed list to a set

* Update manim/_config/utils.py

* Update manim/cli/render/global_options.py

* added one test for the no_latex_cleanup config option

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
2023-11-04 15:05:17 +01:00
..
geometry Refactor tests (#2866) 2022-07-09 21:10:30 +00:00
graphing Bug fix: Use np.isclose for float equality in number line elongated ticks (#3392) 2023-10-12 08:28:43 +02:00
mobject Speed up width/height/depth by reducing copying (#3180) 2023-03-28 21:03:03 +02:00
svg Adding :class: ManimColor to manim and converting all types (#3020) 2023-08-08 14:47:00 +02:00
text Added ability to remove non-svg LaTeX files (#3322) 2023-11-04 15:05:17 +01:00
types/vectorized_mobject Adding :class: ManimColor to manim and converting all types (#3020) 2023-08-08 14:47:00 +02:00
test_boolean_ops.py Refactor tests (#2866) 2022-07-09 21:10:30 +00:00
test_graph.py Fix None check order in _tree_layout (#3421) 2023-11-02 19:00:10 +01:00
test_value_tracker.py Refactor tests (#2866) 2022-07-09 21:10:30 +00:00