A community-maintained Python framework for creating mathematical animations.
interpolate_mobject should return self
Grant Sanderson6c2e7f4c2ce6
diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.pyindex af1fa9c05..c8eaa9594 100644--- a/manimlib/mobject/mobject.py+++ b/manimlib/mobject/mobject.py@@ -1088,6 +1088,7 @@ class Mobject(Container):mobject1.points, mobject2.points, alpha)self.interpolate_color(mobject1, mobject2, alpha)+ return selfdef interpolate_color(self, mobject1, mobject2, alpha):pass # To implement in subclass