---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
Cell In [4], line 18
14 self.play(fig_size_tracker.animate.set_value(6), run_time=1)
15 self.wait()
---> 18 get_ipython().run_line_magic('manim', '-v WARNING -qh --disable_caching --progress_bar None Example')
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/IPython/core/interactiveshell.py:2309, in InteractiveShell.run_line_magic(self, magic_name, line, _stack_depth)
2307 kwargs['local_ns'] = self.get_local_scope(stack_depth)
2308 with self.builtin_trap:
-> 2309 result = fn(*args, **kwargs)
2310 return result
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/utils/ipython_magic.py:141, in ManimMagic.manim(self, line, cell, local_ns)
139 SceneClass = local_ns[config["scene_names"][0]]
140 scene = SceneClass(renderer=renderer)
--> 141 scene.render()
142 finally:
143 # Shader cache becomes invalid as the context is destroyed
144 shader_program_cache.clear()
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/scene/scene.py:223, in Scene.render(self, preview)
221 self.setup()
222 try:
--> 223 self.construct()
224 except EndSceneEarlyException:
225 pass
Cell In [4], line 14, in Example.construct(self)
11 mob.become(new_mob)
13 imageA.add_updater(update_imageA)
---> 14 self.play(fig_size_tracker.animate.set_value(6), run_time=1)
15 self.wait()
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/scene/scene.py:1033, in Scene.play(self, subcaption, subcaption_duration, subcaption_offset, *args, **kwargs)
1030 return
1032 start_time = self.renderer.time
-> 1033 self.renderer.play(self, *args, **kwargs)
1034 run_time = self.renderer.time - start_time
1035 if subcaption:
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/renderer/cairo_renderer.py:104, in CairoRenderer.play(self, scene, *args, **kwargs)
102 self.freeze_current_frame(scene.duration)
103 else:
--> 104 scene.play_internal()
105 self.file_writer.end_animation(not self.skip_animations)
107 self.num_plays += 1
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/scene/scene.py:1198, in Scene.play_internal(self, skip_rendering)
1193 self.time_progression = self._get_animation_time_progression(
1194 self.animations,
1195 self.duration,
1196 )
1197 for t in self.time_progression:
-> 1198 self.update_to_time(t)
1199 if not skip_rendering and not self.skip_animation_preview:
1200 self.renderer.render(self, t, self.moving_mobjects)
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/scene/scene.py:1432, in Scene.update_to_time(self, t)
1430 alpha = t / animation.run_time
1431 animation.interpolate(alpha)
-> 1432 self.update_mobjects(dt)
1433 self.update_meshes(dt)
1434 self.update_self(dt)
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/scene/scene.py:342, in Scene.update_mobjects(self, dt)
333 """
334 Begins updating all mobjects in the Scene.
335
(...)
339 Change in time between updates. Defaults (mostly) to 1/frames_per_second
340 """
341 for mobject in self.mobjects:
--> 342 mobject.update(dt)
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/mobject/mobject.py:841, in Mobject.update(self, dt, recursive)
839 updater(self, dt)
840 else:
--> 841 updater(self)
842 if recursive:
843 for submob in self.submobjects:
Cell In [4], line 11, in Example.construct.<locals>.update_imageA(mob)
9 def update_imageA(mob):
10 new_mob = make_mobject(100, fig_size_tracker.get_value(), position=3 * LEFT)
---> 11 mob.become(new_mob)
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/mobject/mobject.py:2703, in Mobject.become(self, mobject, copy_submobjects, match_height, match_width, match_depth, match_center, stretch)
2701 for sm1, sm2 in zip(self.get_family(), mobject.get_family()):
2702 sm1.points = np.array(sm2.points)
-> 2703 sm1.interpolate_color(sm1, sm2, 1)
2704 return self
File ~/checkouts/readthedocs.org/user_builds/manimplotlib/envs/latest/lib/python3.11/site-packages/manim/mobject/mobject.py:2638, in Mobject.interpolate_color(self, mobject1, mobject2, alpha)
2637 def interpolate_color(self, mobject1, mobject2, alpha):
-> 2638 raise NotImplementedError("Please override in a child class.")
NotImplementedError: Please override in a child class.