Skip to content

Commit 48fe4fb

Browse files
committed
show() deprecated
1 parent 5aaf38a commit 48fe4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_pycamera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def __init__(self) -> None:
242242

243243
self.splash.append(self._topbar)
244244
self.splash.append(self._botbar)
245-
self.display.show(self.splash)
245+
self.display.root_group = self.splash
246246
self.display.refresh()
247247

248248
#self.camera.colorbar = True

0 commit comments

Comments
 (0)