Skip to content

Commit 3282c75

Browse files
MrDiverbehackl
andauthored
Update manim/mobject/mobject.py
Co-authored-by: Benjamin Hackl <[email protected]>
1 parent 322249a commit 3282c75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manim/mobject/mobject.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,8 @@ def set_color_by_gradient(self, *colors: Iterable[ParsableManimColor]):
17671767
Parameters
17681768
----------
17691769
colors
1770-
The colors to use for the gradient. Use like `set_color_by_gradient(RED, BLUE, GREEN)`.
1770+
The colors to use for the gradient. Use like
1771+
``set_color_by_gradient(RED, BLUE, GREEN)``.
17711772
17721773
"""
17731774
self.set_submobject_colors_by_gradient(*colors)

0 commit comments

Comments
 (0)