diff --git a/examples/imageload_colorwheel.py b/examples/imageload_colorwheel.py index 5946db9..d43d378 100644 --- a/examples/imageload_colorwheel.py +++ b/examples/imageload_colorwheel.py @@ -15,6 +15,6 @@ group = displayio.Group() group.append(tile_grid) -display.show(group) +display.root_group = group while True: pass diff --git a/examples/imageload_from_web.py b/examples/imageload_from_web.py index 9168cd3..283eb59 100644 --- a/examples/imageload_from_web.py +++ b/examples/imageload_from_web.py @@ -41,7 +41,7 @@ group = displayio.Group(scale=1) group.append(tile_grid) -board.DISPLAY.show(group) +board.DISPLAY.root_group = group response.close() diff --git a/examples/imageload_magtag_simpletest.py b/examples/imageload_magtag_simpletest.py index 04651cf..ad95515 100644 --- a/examples/imageload_magtag_simpletest.py +++ b/examples/imageload_magtag_simpletest.py @@ -27,7 +27,7 @@ group.append(tile_grid) # show the group and refresh -display.show(group) +display.root_group = group display.refresh() while True: diff --git a/examples/imageload_netpbm.py b/examples/imageload_netpbm.py index c6347b4..b896e6e 100644 --- a/examples/imageload_netpbm.py +++ b/examples/imageload_netpbm.py @@ -28,7 +28,7 @@ # Make the display context splash = displayio.Group() -display.show(splash) +display.root_group = splash # image = "images/netpbm_p1_mono_ascii.pbm" # image = "images/netpbm_p2_ascii.pgm" # image = "images/netpbm_p3_rgb_ascii.ppm" diff --git a/examples/imageload_png_simpletest.py b/examples/imageload_png_simpletest.py index c1dc09f..07484e7 100644 --- a/examples/imageload_png_simpletest.py +++ b/examples/imageload_png_simpletest.py @@ -36,7 +36,7 @@ group.append(tile_grid) # show our group -board.DISPLAY.show(group) +board.DISPLAY.root_group = group # loop forever so it stays on the display while True: diff --git a/examples/imageload_simpletest.py b/examples/imageload_simpletest.py index 692f013..fbfc52d 100644 --- a/examples/imageload_simpletest.py +++ b/examples/imageload_simpletest.py @@ -11,7 +11,7 @@ group = displayio.Group() group.append(tile_grid) -board.DISPLAY.show(group) +board.DISPLAY.root_group = group while True: pass diff --git a/examples/imageload_tilegrid_inflator_simpletest.py b/examples/imageload_tilegrid_inflator_simpletest.py index 5024b6b..50463a0 100644 --- a/examples/imageload_tilegrid_inflator_simpletest.py +++ b/examples/imageload_tilegrid_inflator_simpletest.py @@ -11,7 +11,7 @@ group = displayio.Group() group.append(tile_grid) -board.DISPLAY.show(group) +board.DISPLAY.root_group = group while True: pass