-
Notifications
You must be signed in to change notification settings - Fork 2.2k
# New colour enums- Try2 #488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4e745e2
310d881
e902b20
345f6fa
7dee3ba
c6f075c
0930301
a4ab254
08033cf
ab718e4
60e8fd0
d00f4db
d2b1d73
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ | |
from ...utils.space_ops import angle_of_vector | ||
from ...utils.space_ops import complex_to_R3 | ||
from ...utils.space_ops import rotate_vector | ||
from ...utils.color import YELLOW, WHITE, DARK_GREY, MAROON_B, PURPLE, GREEN, BLACK, LIGHT_GREY, GREY, BLUE_B, BLUE_D | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not just import C? And use C.WHITE, etc. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also possible. |
||
|
||
|
||
class Lightbulb(SVGMobject): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line does not have an effect right now.
import manim.color as C
is not working, onlyimport manim.utils.color as C
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please try
from manim import color as C
instead?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nice, this one is working