Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update mobject.py

lkevinzc854ed3038e04
diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py
index de8bf1bee..e707f5d76 100644
--- a/manimlib/mobject/mobject.py
+++ b/manimlib/mobject/mobject.py
@@ -530,7 +530,7 @@ class Mobject(Container):
def add_background_rectangle(self, color=BLACK, opacity=0.75, **kwargs):
# TODO, this does not behave well when the mobject has points,
# since it gets displayed on top
- from mobject.shape_matchers import BackgroundRectangle
+ from manimlib.mobject.shape_matchers import BackgroundRectangle
self.background_rectangle = BackgroundRectangle(
self, color=color,
fill_opacity=opacity,