posit-dev / py-shiny

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

pyDeck example broken #1372

Open ozyhuboi opened 6 months ago

ozyhuboi commented 6 months ago

On the page, https://shiny.posit.co/py/docs/jupyter-widgets.html, there is a tab for a PyDeck map option and it appears to be broken with the following error: image

I just wanted to ask if there was an issue with the render_pydeck or was it related to something else.

cpsievert commented 6 months ago

shinylive currently has IPython 8.18.1, and apparently with that version of IPython, from IPython.display import HTML errors out (which is problematic for pydeck).

The current version of IPython is 8.24.0, and from IPython.display import HTML works for that version, and I confirmed that this example works with that version of IPython.

@wch when we do the release and update shinylive, we should make sure to update IPython (and verify this example works in shinylive)