Skip to content

Commit 1d62909

Browse files
authored
Update color.py
1 parent 86b90f8 commit 1d62909

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manim/utils/color.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,9 @@ class Colors(Enum):
104104
105105
.. code-block:: python
106106
107-
import manim.utils.color as C
108-
C.WHITE # -> '#FFFFFF'
107+
>>> import manim.utils.color as C
108+
>>> C.WHITE
109+
'#FFFFFF'
109110
110111
Note this way uses the name of the colors in UPPERCASE.
111112

0 commit comments

Comments
 (0)