You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing around with Quarto. I would like to test how I can embed hvPlot plots.
I believe this issue has nothing to do with quarto. I just think that when you change the widget_location the dynamic=False or HoloMap is not working.
Does not work
---title: hvPlot in Quarto Examplesformat: html---
This is a hvPlot embedded in a Quarto document.
```{python}import hvplot.pandasimport numpy as npimport pandas as pdhvplot.extension("bokeh") # Needed for 'quarto preview' to workfrequencies = [0.5, 0.75, 1.0, 1.25]def sine_curve(phase, freq): xvals = np.arange(100) yvals = np.sin(phase+freq*xvals) return pd.DataFrame({'x': xvals, 'y': yvals, 'phase': phase, 'freq': freq}, columns=['x', 'y', 'phase', 'freq'])df = pd.concat([sine_curve(0, f) for f in frequencies])df.hvplot.line('x', 'y', groupby='freq', dynamic=False, responsive=True, height=400, widget_location='top_left')```
quarto preview script.qmd --port 5008
hvplot-widget-not-working.mp4
Works
Here I don't change the widget_location.
---title: hvPlot in Quarto Examplesformat: html---
This is a hvPlot embedded in a Quarto document.
```{python}import hvplot.pandasimport numpy as npimport pandas as pdhvplot.extension("bokeh") # Needed for 'quarto preview' to workfrequencies = [0.5, 0.75, 1.0, 1.25]def sine_curve(phase, freq): xvals = np.arange(100) yvals = np.sin(phase+freq*xvals) return pd.DataFrame({'x': xvals, 'y': yvals, 'phase': phase, 'freq': freq}, columns=['x', 'y', 'phase', 'freq'])df = pd.concat([sine_curve(0, f) for f in frequencies])df.hvplot.line('x', 'y', groupby='freq', dynamic=False, responsive=True, height=400)```
MarcSkovMadsen
changed the title
dynamic=False not work if I set the widget_location
dynamic=False not work if I change the widget_location
Dec 25, 2023
I'm playing around with Quarto. I would like to test how I can embed hvPlot plots.
I believe this issue has nothing to do with quarto. I just think that when you change the
widget_location
thedynamic=False
orHoloMap
is not working.Does not work
hvplot-widget-not-working.mp4
Works
Here I don't change the
widget_location
.holomap.works.mp4
Versions
panel==1.3.5 bokeh==3.3.2 holoviews==1.18.1 hvplot==0.9.1
The text was updated successfully, but these errors were encountered: