awesome-panel / holoviz-quarto

The purpose of this project is to make it easy to use the HoloViz ecosystem with Quarto
https://awesome-panel.github.io/holoviz-quarto/
8 stars 0 forks source link

Constant reloading freezes the interactivity of the slidebar #5

Open dhvs19 opened 4 days ago

dhvs19 commented 4 days ago

Hello,

I'm giving a try on the holoviz-quarto but I'm getting an error while implementing your example:

---
title: Panel in Quarto Examples
format: html
filters:
  - holoviz/quarto
---

This is a Panel application embedded in a Quarto doc.

```{panel-convert-python}
import panel as pn

pn.extension(design="material")

slider = pn.widgets.IntSlider(name="Select a value", value=10, start=0, end=100)
pn.Column(
    "# Hello Panel + Quarto!",
    pn.rx("You selected: {}").format(slider),
).servable()

The example above freezes the interactivity of the slider and a spining wheel shows up (while in your example not), check the attached screenshot. The only difference between my try and your example is that I use poetry instead, check bellow poetry enviroment setup:

[tool.poetry.dependencies] python = "^3.12" pandas = "^2.2.3" numpy = "^2.1.2" scipy = "^1.14.1" plotly = "^5.24.1" altair = "^5.4.1" bokeh = "^3.6.0" jupyter = "^1.1.1" matplotlib = "^3.9.2" panel = "^1.5.2" holoviews = "^1.19.1" perl = "^1.0.0"

And my Quarto (Quarto CLI) version is: 1.5.57

Any idea what's going wrong?

Thank you in advance, not only for the effort in this particular tool, but in many other useful tools and integrations ... I've just seen what you did to integrate Mermaid with Panel ... amazing effort and work !!!

Best regards,

Daniel Santos

problem_with_holoviz_quarto

MarcSkovMadsen commented 4 days ago

Do you see any errors logged to the browser console?

dhvs19 commented 4 days ago

Hello Marc,

Yes it seems that is BokehJS causing the issue ... check the attached files.

Best regards,

Daniel Santos element_log.txt