holoviz / holoviz/hvplot

xarray interactive widgets don't update text when displayed with panel

Open
#607 5 comments 0 reactions 1 assignee Claimed by @philippjfr View on GitHub
api: interactive
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

If I open up a dataset
```
import xarray as xr
import hvplot.xarray
import panel as pn
import panel.widgets as pnw

ds = xr.tutorial.open_dataset('air_temperature').load()
```
and try out interactive selection
```
ds.interactive.sel(lat=pnw.DiscreteSlider, lon=pnw.DiscreteSlider)
```
everything works great! But if I try to display the same object with Panel:
```
pn.Row(ds.interactive.sel(lat=pnw.DiscreteSlider, lon=pnw.DiscreteSlider))
```
Although the view of the dataset is updated, the text above the slider never updates.

#### ALL software version info
`hvplot 0.7.1`
`holoviews 1.14.3`
`panel 0.11.3`
`bokeh 2.3.2`

#### Description of expected behavior and the observed behavior
I expect the interactive slider text to update regardless of whether it's displayed with panel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.