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.pyindex 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 -pldiff --git a/logo/logo.py b/logo/logo.pyindex 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.pyindex 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 suchscript, 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 modulesor refactoring the library on current or older scene scripts should be entirelyaddressible by changing this file.diff --git a/tests/tests_sample_scenes.py b/tests/tests_sample_scenes.pyindex 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.