Skip to content

Commit

Permalink
update syntax again .to_chunk()
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Jan 24, 2024
1 parent 6cc7c05 commit 9efdfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shiny/_docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 9efdfb0

Please sign in to comment.