Closed
Description
Currently, constants.py
is adding every color inside COLOR_MAP
to the locals()
dictionary. This is usually frowned upon in Python in general.
If we want to keep exposing all colors to the end user without any namespace access (like manim.colors.RED
or some such), then we can carefully import all colors inside __init__.py
. This could be done for the purpose of backward compatibility.