From 4afffacde19e4d86ff675648cde1c77dcd724f3f Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 9 Nov 2023 13:55:13 -0500 Subject: [PATCH] replace .show() in README.rst --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 05959a6..be98281 100644 --- a/README.rst +++ b/README.rst @@ -80,7 +80,7 @@ Usage Example # Create the labels - funhouse.display.show(None) + funhouse.display.root_group = None slider_label = funhouse.add_text( text="Slider:", text_position=(50, 30), text_color=0x606060 ) @@ -112,7 +112,7 @@ Usage Example pres_label = funhouse.add_text( text="Pres:", text_position=(50, 60), text_color=0xFF00FF ) - funhouse.display.show(funhouse.splash) + funhouse.display.root_group = funhouse.splash while True: funhouse.set_text("Temp %0.1F" % dps310.temperature, temp_label)