Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First tab's HoloMap slider is unresponsive #806

Closed
ahuang11 opened this issue Nov 20, 2019 · 0 comments · Fixed by #1543
Closed

First tab's HoloMap slider is unresponsive #806

ahuang11 opened this issue Nov 20, 2019 · 0 comments · Fixed by #1543
Milestone

Comments

@ahuang11
Copy link
Contributor

ahuang11 commented Nov 20, 2019

panel=0.7.0
bokeh=1.4.0
holoviews=1.12.6

I'm trying to dump two HoloMaps into separate tabs. Each of these HoloMaps have two or more sliders. When I try to put them into tabs, the slider in the first tab is unresponsive while the second tab works as expected.

import xarray as xr
import hvplot.xarray
import panel as pn
import holoviews as hv
hv.extension('bokeh')
pn.extension()

ds = xr.tutorial.open_dataset('air_temperature').isel(time=slice(0, 15), lat=slice(0, 5), lon=slice(0, 5))
ds['airx2'] = ds['air'] ** 2

plot1 = ds.hvplot('time', 'air', groupby=['lon', 'lat'], dynamic=False)
plot2 = ds.hvplot('time', 'airx2', groupby=['lon', 'lat'], dynamic=False)

pn.Tabs(plot1, plot2).save('test.html', embed=True)

This only happens when there are two sliders or more; e.g. the following works

import xarray as xr
import hvplot.xarray
import panel as pn
import holoviews as hv
hv.extension('bokeh')
pn.extension()

ds = xr.tutorial.open_dataset('air_temperature').isel(time=slice(0, 15), lat=slice(0, 5), lon=slice(0, 5))
ds['airx2'] = ds['air'] ** 2

plot1 = ds.hvplot('lon', 'lat', z='air', dynamic=False)
plot2 = ds.hvplot('lon', 'lat', z='airx2', dynamic=False)

pn.Tabs(plot1, plot2).save('test.html', embed=True)
@ahuang11 ahuang11 added the TRIAGE Default label for untriaged issues label Nov 20, 2019
@philippjfr philippjfr added type: bug and removed TRIAGE Default label for untriaged issues labels Nov 22, 2019
@philippjfr philippjfr added this to the v0.7.1 milestone Nov 22, 2019
@philippjfr philippjfr modified the milestones: v0.7.1, v0.8.0, v0.8.x Jan 16, 2020
@philippjfr philippjfr modified the milestones: v0.8.x, v0.9.0, v0.9.2 Mar 12, 2020
@philippjfr philippjfr modified the milestones: v0.9.2, v0.9.4 Mar 21, 2020
@philippjfr philippjfr modified the milestones: v0.9.4, v0.9.5, v0.10.0 Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants