Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update color.py

kolibril131d6290981500
diff --git a/manim/utils/color.py b/manim/utils/color.py
index 404d4206d..09f604829 100644
--- a/manim/utils/color.py
+++ b/manim/utils/color.py
@@ -104,8 +104,9 @@ class Colors(Enum):
.. code-block:: python
- import manim.utils.color as C
- C.WHITE # -> '#FFFFFF'
+ >>> import manim.utils.color as C
+ >>> C.WHITE
+ '#FFFFFF'
Note this way uses the name of the colors in UPPERCASE.