replace from manim import * #2639
nicataliyev
started this conversation in
Architecture
Replies: 1 comment
-
Hello! There are no short-term plans to change how we use the library in our documentation I'd say -- but you don't have to use import manim as mn
class HelloWorld(mn.Scene):
def construct(self):
t = mn.Text("Hello World!")
self.play(mn.Write(t))
self.play(mn.FadeOut(t)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi dear manim team,
Are there any plans to change the way manim vars and modules are imported using
import *
. Sinceimport *
is considered to be bad practice from python software engineering perspectice and sometimes causes confusions when using custom modules as those module names may interfere with sub-modules of manim.Beta Was this translation helpful? Give feedback.
All reactions