-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Currently, Text objects have
manim/manim/mobject/text/text_mobject.py
Lines 591 to 592 in 2462d0d
| def __repr__(self): | |
| return f"Text({repr(self.original_text)})" |
and similarly for
SingleStringMathTexmanim/manim/mobject/text/tex_mobject.py
Lines 108 to 109 in 2462d0d
| def __repr__(self): | |
| return f"{type(self).__name__}({repr(self.tex_string)})" |
I recently made an animation that involved Transforming text objects repeatedly, during which the logging displays the original text of the objects and not their current state. This makes debugging problems slightly more work, as it can be more difficult to differentiate at what part of the scene something went wrong.
Is there a reason for the current behavior? And is there interest in changing it to display updated information? I imagine self.original_text may be changed to self.text and maybe the Transform can update tex_string itself.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status