fix(lib): bump Manim and fix OpenGL renderer (#522)

* fix(lib): bump Manim and fix OpenGL renderer

* fix(tests): correctly change cwd
This commit is contained in:
Jérome Eertmans
2025-01-21 13:38:41 +01:00
committed by GitHub
parent 32ab690932
commit adce58e1b7
6 changed files with 416 additions and 167 deletions

View File

@ -31,6 +31,12 @@ class Slide(BaseSlide, Scene): # type: ignore[misc]
for the current slide config.
"""
def __init__(self, *args: Any, **kwargs: Any) -> None:
# OpenGL renderer disables 'write_to_movie' by default
# which is required for saving the animations
config["write_to_movie"] = True
super().__init__(*args, **kwargs)
@property
def _frame_shape(self) -> tuple[float, float]:
if isinstance(self.renderer, OpenGLRenderer):