Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions manim/mobject/mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -2031,10 +2031,10 @@ def set_color(
alpha: Any = None,
family: bool = True,
) -> Self:
"""Condition is function which takes in one arguments, (x, y, z).
Here it just recurses to submobjects, but in subclasses this
should be further implemented based on the the inner workings
of color
"""
Sets color of the mobject,
and as long as family is set to True, the submobjects are also coloured in same color.
alpha was introduced in PR 4388, but hasn't been used. Maybe, it was mistakenly introduced in that PR.
"""
if family:
for submob in self.submobjects:
Expand Down
Loading