From 662df5a8b154bf1d32c29ab7fb6b4614becce153 Mon Sep 17 00:00:00 2001 From: thirdr Date: Wed, 24 Apr 2024 12:14:50 +0100 Subject: [PATCH] linting --- .../examples/pico_display/display_png_offset_palette.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/examples/pico_display/display_png_offset_palette.py b/micropython/examples/pico_display/display_png_offset_palette.py index 9ff39cf9..470b99d7 100644 --- a/micropython/examples/pico_display/display_png_offset_palette.py +++ b/micropython/examples/pico_display/display_png_offset_palette.py @@ -41,11 +41,11 @@ try: # Open our PNG File from flash. In this example we're using an image of a cartoon pencil. # You can use Thonny to transfer PNG Images to your Pico. png.open_file("pencil_gray.png") - + # Horizontally/vertically center the three PNG Images. png_w = png.get_width() png_h = png.get_height() - + offset_x = (width - png_w * 2) // 2 height_y = (height // 3) offset_y = (height_y - png_h * 2) // 2