posit-dev / py-shiny

Shiny for Python
https://shiny.posit.co/py/
MIT License
1.29k stars 78 forks source link

Add `render.plotly` to Shiny #1272

Open gshotwell opened 7 months ago

gshotwell commented 7 months ago

Plotly seems to be one of the first tools people reach for when plotting in Python, and IMO it would be good to have a decorator in Shiny. It would be better to have a render.plotly decorator in the main Shiny package which wrapped render_plotly and errored if you didn't have shinywidgets installed.

corey-dawson commented 6 months ago

plotly seems the default graphing library for html... definitely reach for it before matplotlib