From 0ff0f2ecad2acc5d4c3b4a5b3ef9647aafe0d6a1 Mon Sep 17 00:00:00 2001 From: waltem01 Date: Thu, 15 Feb 2024 09:31:34 +0100 Subject: [PATCH] bugfix: corrected comment content --- API/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/main.py b/API/main.py index 82c2549..c2d9834 100755 --- a/API/main.py +++ b/API/main.py @@ -293,7 +293,7 @@ class Matrix(SampleBase): def set_image(self, url: str): self.image = Image.open(requests.get(url, stream=True).raw) - # display rectangle at position with dimensions in current color + # display image at position with dimensions in current color def display_image(self, x: int, y: int, w: int|None = None, h: int|None = None): # resize image to specified or max size self.image.resize((w or self.matrix.width, h or self.matrix.height), Image.ANTIALIAS)