The documentation at https://shiny.posit.co/py/docs/jupyter-widgets.html is almost exclusively focused on Shiny Express. It would be helpful to have parallel examples with Shiny Core; this would help in debugging, by providing examples that are expected to work.
Also, the documentation prominently features examples using specially-supported widgets like those for Altair, Bokeh, Plotly and PyDeck. Other types of widgets seem to be treated secondarily, e.g. the "Getting Started" example for "Other" includes this.
@render_widget
def widget():
# Widget code goes here
...
It's unclear to me if shinywidgets is expected to be reasonably usable with generic widgets. It would help to clarify this and, if it is, to feature these as first-class (I would suggest as the default) throughout the documentation.
The documentation at https://shiny.posit.co/py/docs/jupyter-widgets.html is almost exclusively focused on Shiny Express. It would be helpful to have parallel examples with Shiny Core; this would help in debugging, by providing examples that are expected to work.
Also, the documentation prominently features examples using specially-supported widgets like those for Altair, Bokeh, Plotly and PyDeck. Other types of widgets seem to be treated secondarily, e.g. the "Getting Started" example for "Other" includes this.
It's unclear to me if shinywidgets is expected to be reasonably usable with generic widgets. It would help to clarify this and, if it is, to feature these as first-class (I would suggest as the default) throughout the documentation.