nikolajmunk
nikolajmunk
The class `CurvesAsSubmobjects` throws two custom error messages for when it either has no submobjects or it has no submobjects with points: https://github.com/ManimCommunity/manim/blob/cafc63919eb03d398d7038a8c82e591b12de8da5/manim/mobject/types/vectorized_mobject.py#L2858-L2874 These error messages contain a hardcodes class...
## Problem description All three of `Mobject.__iter__`, `Mobject.__len__`, and `Mobject.__getitem__` operate on the output of `self.split()`, which is implemented like so: ```py def split(self) -> list[Mobject]: result: list[Mobject] = [self]...
## Description of bug / unexpected behavior As mentioned in #4914, the behavior of `split` is different between the two types of Mobject. Here is the implementation of `Mobject.split`: ```py...