A community-maintained Python framework for creating mathematical animations.
fix: corrected parameters and enhanced the description of interpolate_color within image_mobject (#2919)
Owen Samuelbf3867b932ba
diff --git a/manim/mobject/types/image_mobject.py b/manim/mobject/types/image_mobject.pyindex 80b875599..c24584159 100644--- a/manim/mobject/types/image_mobject.py+++ b/manim/mobject/types/image_mobject.py@@ -235,17 +235,17 @@ class ImageMobject(AbstractImageMobject):return selfdef interpolate_color(self, mobject1, mobject2, alpha):- """Interpolates an array of pixel color values into another array of- equal size.+ """Interpolates the array of pixel color values from one ImageMobject+ into an array of equal size in the target ImageMobject.Parameters----------mobject1 : ImageMobjectThe ImageMobject to transform from.- mobject1 : ImageMobject-+ mobject2 : ImageMobjectThe ImageMobject to transform into.+alpha : floatUsed to track the lerp relationship. Not opacity related."""