manim/tests/module/mobject
Benjamin Hackl b7eefca98f
Fix incorrect submobject count of multi-part Tex/MathTex mobjects by stopping them from adding empty submobjects (#3423)
* do not add a VectorizedPoint as a submobject if SingleStringMathTex renders to empty SVG

* test new behavior

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

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

* Update tests/module/mobject/text/test_texmobject.py

* Update tests/module/mobject/text/test_texmobject.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-27 09:28:23 +02: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 Fix incorrect submobject count of multi-part Tex/MathTex mobjects by stopping them from adding empty submobjects (#3423) 2023-10-27 09:28:23 +02: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 Added :class:.DiGraph, a mobject representing directed graphs (#2974) 2023-04-06 13:40:23 +02:00
test_value_tracker.py Refactor tests (#2866) 2022-07-09 21:10:30 +00:00