-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Description of bug / unexpected behavior
Given the below code [1] , I rerun manim src\manim_odyash_playground\scene.py -> 1 command after changing gradient to (GREEN, ...) instead of (RED, ...), yet the scene gets rendered with RED color [2].
Note: This always happens, but if I change text, font, or apparently any other str-related argument ---> the issue gets fixed! --> I.e., the scene gets rendered with GREEN color!
(so changing width doesn't fix the issue either)
[1]:
class SceneTest(Scene):
def construct(self):
oa_txt = Text(text="Hello Amazing World!", font="", width=6.5, gradient=(RED, WHITE, BLUE))
self.play(Write(oa_txt))[2]:
Expected behavior
Any update that I do in any argument of Text Mobject should make it refreshed (i.e., updated) when I rerun the script!
How to reproduce the issue
Provided in [1] above.
Also, these are the project's requirements till now [3]:
manim==0.18.1
python3-pip-autoremove==0.9.1
ffmpeg-python==0.2.0Code for reproducing the problem
Provided in [1] above.
Additional media files
Images/GIFs
Provided in [2] above.
Logs
Terminal output
This is the log (after changing RED to GREEN):
[01/09/25 08:21:42] DEBUG Hashing ... hashing.py:352
[01/09/25 08:21:43] DEBUG Hashing done in 0.173308 s. hashing.py:364
DEBUG Hash generated : 3977891868_4229486692_223132457 hashing.py:367
INFO Animation 0 : Using cached data (hash : 3977891868_4229486692_223132457) cairo_renderer.py:88
DEBUG List of the first few animation hashes of the scene: ['3977891868_4229486692_223132457'] cairo_renderer.py:97
INFO Combining to Movie file. scene_file_writer.py:617
DEBUG Partial movie files to combine (1 files): scene_file_writer.py:561
['D:\\CS\\projects\\manim-odyash-playground\\media\\videos\\scene\\1080p60\\partial_movie_files\\SceneTest\\3977891868_4229486692_223132457.mp4'
]
INFO scene_file_writer.py:737
File ready at 'D:\CS\projects\manim-odyash-playground\media\videos\scene\1080p60\SceneTest.mp4'
INFO Rendered SceneTest scene.py:247
Played 1 animations
System specifications
System Details
- OS: Windows 11 Version 24H2 (OS Build 26100.2605)
- RAM: 16GB
- Python version (
python/py/python3 --version): 3.11 - Installed modules (provide output from
pip list): provided in [3] above, I just pip installed those
LaTeX details
Note: I don't think this section is relevant, as the code doesn't use latex.
- LaTeX distribution (e.g. TeX Live 2020): MiKTeX 23.5 (I figured it out by running
pdftex --versioncommand. - Installed LaTeX packages: I get
tlmgr : The term 'tlmgr' is not recognizederror when runningtlmgr list --only-installed
Additional comments
None.
