From 31e6aa2ae0859bcc269c840032d7280db23175b5 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 4 Jan 2021 13:25:42 -0800 Subject: [PATCH] Use super() --- manimlib/mobject/types/image_mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/mobject/types/image_mobject.py b/manimlib/mobject/types/image_mobject.py index fd30b0dd..ddbc14ae 100644 --- a/manimlib/mobject/types/image_mobject.py +++ b/manimlib/mobject/types/image_mobject.py @@ -27,7 +27,7 @@ class ImageMobject(Mobject): path = get_full_raster_image_path(filename) self.image = Image.open(path) self.texture_paths = {"Texture": path} - Mobject.__init__(self, **kwargs) + super().__init__(**kwargs) def init_points(self): self.points = np.array([UL, DL, UR, DR])