Skip to content

Commit f268b81

Browse files
Merge pull request #6 from lesamouraipourpre/max-size
Remove max_size parameter
2 parents ec6c357 + 27b83b8 commit f268b81

4 files changed

+5
-5
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Usage Example
8181
display = adafruit_displayio_sh1107.SH1107(display_bus, width=WIDTH, height=HEIGHT)
8282
8383
# Make the display context
84-
splash = displayio.Group(max_size=10)
84+
splash = displayio.Group()
8585
display.show(splash)
8686
8787
color_bitmap = displayio.Bitmap(WIDTH, HEIGHT, 1)

examples/displayio_sh1107_game_of_life.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ def conway(output):
106106
palette = displayio.Palette(2)
107107
tg1 = displayio.TileGrid(b1, pixel_shader=palette)
108108
tg2 = displayio.TileGrid(b2, pixel_shader=palette)
109-
g1 = displayio.Group(max_size=3, scale=SCALE)
109+
g1 = displayio.Group(scale=SCALE)
110110
g1.append(tg1)
111111
display.show(g1)
112-
g2 = displayio.Group(max_size=3, scale=SCALE)
112+
g2 = displayio.Group(scale=SCALE)
113113
g2.append(tg2)
114114

115115
# First time, show the Conway tribute

examples/displayio_sh1107_random_motion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
display = adafruit_displayio_sh1107.SH1107(display_bus, width=WIDTH, height=HEIGHT)
3434

3535
# Make the display context
36-
splash = displayio.Group(max_size=10)
36+
splash = displayio.Group()
3737
display.show(splash)
3838

3939
color_bitmap = displayio.Bitmap(WIDTH, HEIGHT, 1)

examples/displayio_sh1107_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
display = adafruit_displayio_sh1107.SH1107(display_bus, width=WIDTH, height=HEIGHT)
3333

3434
# Make the display context
35-
splash = displayio.Group(max_size=10)
35+
splash = displayio.Group()
3636
display.show(splash)
3737

3838
color_bitmap = displayio.Bitmap(WIDTH, HEIGHT, 1)

0 commit comments

Comments
 (0)