diff --git a/manim/mobject/geometry/shape_matchers.py b/manim/mobject/geometry/shape_matchers.py index dd696881fa..ddc2916f03 100644 --- a/manim/mobject/geometry/shape_matchers.py +++ b/manim/mobject/geometry/shape_matchers.py @@ -22,7 +22,7 @@ from manim.mobject.mobject import Mobject from manim.mobject.opengl.opengl_mobject import OpenGLMobject from manim.mobject.types.vectorized_mobject import VGroup -from manim.utils.color import BLACK, RED, YELLOW, ManimColor, ParsableManimColor +from manim.utils.color import BLACK, RED, YELLOW, ParsableManimColor class SurroundingRectangle(RoundedRectangle): @@ -151,12 +151,6 @@ def set_style(self, fill_opacity: float, **kwargs: Any) -> Self: # type: ignore ) return self - def get_fill_color(self) -> ManimColor: - # The type of the color property is set to Any using the property decorator - # vectorized_mobject.py#L571 - temp_color: ManimColor = self.color - return temp_color - class Cross(VGroup): """Creates a cross.