manim/tests
Arnaud 2317b0ee8b
feat: add a 'seed' option for reproducible outputs (#4532)
* feat: 'seed' option for reproducible outputs

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

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

* enh: let Scene automatically pick global random seed, use arg as override

* chore: move import slightly

* chore: add test for color generator being reproducible with global config seed

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

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

---------

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>
2026-01-20 22:24:32 +01:00
..
control_data Let SceneFileWriter access ffmpeg via av instead of via external process (#3501) 2024-05-15 13:23:09 +00:00
helpers Fixed behavior of config.background_opacity < 1 and duplicated log messages (#3680) 2024-07-15 00:50:44 +02:00
interface Bump minimum Python to 3.11 and av to 14.0.1 (#4385) 2026-01-12 14:27:48 +01:00
miscellaneous Update dependency constraints, fix deprecation warnings (#3376) 2023-12-06 14:44:13 +01:00
module feat: add a 'seed' option for reproducible outputs (#4532) 2026-01-20 22:24:32 +01:00
opengl Bump Python target versions of both mypy and ruff 2026-01-13 01:13:21 +01:00
test_graphical_units Bump Python target versions of both mypy and ruff 2026-01-13 01:13:21 +01:00
test_logging Use ruff for pytest style (#3872) 2024-07-21 14:37:57 +00:00
test_plugins Change project management tool from poetry to uv (#4138) 2025-02-02 17:16:46 +01:00
test_scene_rendering feat: add a 'seed' option for reproducible outputs (#4532) 2026-01-20 22:24:32 +01:00
utils Bump Python target versions of both mypy and ruff 2026-01-13 01:13:21 +01:00
__init__.py CI: Add support for using Opengl in Subprocess (Windows) (#1987) 2021-08-31 13:16:20 +01:00
assert_utils.py Migrate more os.path to pathlib in tests (#2991) 2022-10-26 19:51:38 +02:00
conftest.py Add support for Python 3.13 (#3967) 2024-12-02 08:50:14 +01:00
standard_config.cfg Add OpenGLMobject tests (#2080) 2021-09-28 07:47:06 +08:00
template_generate_graphical_units_data.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_camera.py Allow using :meth:.MovingCamera.auto_zoom without animation (#2693) 2022-04-22 23:07:52 +02:00
test_code_mobject.py Better parsing of color styles in CodeMobject (#4454) 2025-10-26 08:47:47 +01:00
test_config.py Fix scene skipping for config.upto_animation_number (-n flag in CLI) set to 0 to end after first animation (#4013) 2024-11-13 21:23:50 -03:00
test_ipython_magic.py Change from tempconfig to a config fixture in tests (#3853) 2024-07-12 22:41:51 +02:00
test_linear_transformation_scene.py Use ruff for pytest style (#3872) 2024-07-21 14:37:57 +00:00