Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Replace manimlib imports with manim

Devin Neal82f6572209c2
diff --git a/example_scenes/basic.py b/example_scenes/basic.py
index bc15c5577..1c4daa3b3 100644
--- a/example_scenes/basic.py
+++ b/example_scenes/basic.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-from manimlib.imports import *
+from manim.imports import *
# To watch one of these scenes, run the following:
# python -m manim example_scenes.py SquareToCircle -pl
diff --git a/logo/logo.py b/logo/logo.py
index 14b485d70..41bb7e393 100644
--- a/logo/logo.py
+++ b/logo/logo.py
@@ -1,4 +1,4 @@
-from manimlib.imports import *
+from manim.imports import *
NEW_BLUE = "#68a8e1"
diff --git a/manim/imports.py b/manim/imports.py
index 8da089fcf..72b9cb212 100644
--- a/manim/imports.py
+++ b/manim/imports.py
@@ -5,7 +5,7 @@ of manim available without having to worry about what namespace they come from.
Rather than having a large pile of "from <module> import *" at the top of every such
script, the intent of this file is to make it so that one can just include
-"from manimlib.imports import *". The effects of adding more modules
+"from manim.imports import *". The effects of adding more modules
or refactoring the library on current or older scene scripts should be entirely
addressible by changing this file.
diff --git a/tests/tests_sample_scenes.py b/tests/tests_sample_scenes.py
index 4e598822d..feca458be 100644
--- a/tests/tests_sample_scenes.py
+++ b/tests/tests_sample_scenes.py
@@ -1,4 +1,4 @@
-from manimlib.imports import *
+from manim.imports import *
# This file is intended to test any new feature added.
# Feel free to add a test or to modify one when adding a new/changing a feature.