From 9efdfb028b887c8549e3c18a83e2ec255cf63190 Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Wed, 24 Jan 2024 09:38:10 -0500 Subject: [PATCH] update syntax again `.to_chunk()` --- shiny/_docstring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiny/_docstring.py b/shiny/_docstring.py index 8d5d02ba2..a45a4edce 100644 --- a/shiny/_docstring.py +++ b/shiny/_docstring.py @@ -190,6 +190,6 @@ def write_example(self, app_files: list[str]) -> str: app_file = app_files.pop(0) app = ShinyliveApp.from_local(app_file, app_files, language="py") - return app.chunk(layout="vertical", viewer_height=400) + return app.to_chunk(layout="vertical", viewer_height=400) example_writer = ShinyliveExampleWriter()