Skip to content

Commit a46b0b3

Browse files
committed
remove unneeded default parameters
1 parent 4addb54 commit a46b0b3

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

Weather_Display_Matrix/openweather_graphics.py

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,17 @@ def __init__(
7474
self._icon_sprite = displayio.TileGrid(
7575
icons,
7676
pixel_shader=getattr(icons, 'pixel_shader', displayio.ColorConverter()),
77-
width=1,
78-
height=1,
7977
tile_width=icon_width,
80-
tile_height=icon_height,
81-
default_tile=0,
82-
x=0,
83-
y=0,
78+
tile_height=icon_height
8479
)
8580
# # CircuitPython 7+ compatible
8681
# icons = displayio.OnDiskBitmap(icon_spritesheet)
8782
# self._icon_sprite = displayio.TileGrid(
88-
# icons,
89-
# pixel_shader=icons.pixel_shader,
90-
# width=1,
91-
# height=1,
92-
# tile_width=icon_width,
93-
# tile_height=icon_height,
94-
# default_tile=0,
95-
# x=0,
96-
# y=0,
97-
# )
83+
# icons,
84+
# pixel_shader=icons.pixel_shader,
85+
# tile_width=icon_width,
86+
# tile_height=icon_height
87+
# )
9888

9989
self.set_icon(None)
10090
self._scrolling_texts = []

0 commit comments

Comments
 (0)