Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change dunder to str function call

kilacoda79e27a5ebe68
diff --git a/manim/scene/scene.py b/manim/scene/scene.py
index 4c21fa2b5..2985b4bdd 100644
--- a/manim/scene/scene.py
+++ b/manim/scene/scene.py
@@ -108,7 +108,7 @@ class Scene(Container):
as well as the name of the scene rendered
(useful when using the `-a` option).
"""
- logger.info(f"Rendered {self.__str__()}\nPlayed {self.num_plays} animations")
+ logger.info(f"Rendered {str(self)}\nPlayed {self.num_plays} animations")
def set_variables_as_attrs(self, *objects, **newly_named_objects):
"""