Skip to content

Commit 09d55d1

Browse files
committed
update display.show to root_group
1 parent 9caa9ef commit 09d55d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/displayio_sh1107_game_of_life.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def conway(output):
128128
for _ in range(n):
129129
display.root_group = g1
130130
apply_life_rule(b1, b2)
131-
display.show(g2)
131+
display.root_group = g2
132132
apply_life_rule(b2, b1)
133133

134134
# After 2*n generations, fill the board with random values and

0 commit comments

Comments
 (0)