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

pn.pane.HoloViews(holomap).embed() not embedding #651

Closed
ahuang11 opened this issue Sep 23, 2019 · 2 comments · Fixed by #657
Closed

pn.pane.HoloViews(holomap).embed() not embedding #651

ahuang11 opened this issue Sep 23, 2019 · 2 comments · Fixed by #657
Labels
TRIAGE Default label for untriaged issues
Milestone

Comments

@ahuang11
Copy link
Contributor

import panel as pn
pn.extension()

import xarray as xr
import hvplot.xarray
ds = xr.tutorial.open_dataset('air_temperature').isel(time=slice(0, 15))

# issue 1
pn.pane.HoloViews(ds.hvplot('lon', 'lat')).embed()  # map is missing

# issue 2
pn.Tabs(pn.pane.HoloViews(ds.hvplot('lon', 'lat'), widget_location='bottom', widget_type='scrubber').embed())  # empty tab

image

image

@ahuang11 ahuang11 added the TRIAGE Default label for untriaged issues label Sep 23, 2019
@ahuang11
Copy link
Contributor Author

Interestingly, if I replace pn.pane.HoloViews with panel and without embed, it works...

# issue 2
pn.Tabs(('Test', pn.panel(ds.hvplot('lon', 'lat'), widget_location='bottom', widget_type='scrubber')))

@philippjfr
Copy link
Member

If you try master and do this it will work:

pn.pane.HoloViews(ds.hvplot('lon', 'lat')).layout.embed()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TRIAGE Default label for untriaged issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants