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

Stop swallowing groupby widgets when passing widgets #346

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

jsignell
Copy link
Member

This is kind of a follow on to the widget work in #331 and #323 this lets the groupby widget that hvplot creates get through even when other widgets options are used.

import xarray as xr
import hvplot.xarray

import geoviews.tile_sources as gvts
import panel as pn

base_map = pn.widgets.Select(options=list(gvts.tile_sources.keys()), value='EsriImagery')
data = xr.tutorial.load_dataset('air_temperature').air

pn.Column(
    base_map,
    data.hvplot.contour(geo=True, tiles=base_map, widget_type='scrubber', 
                        widget_location='top', widget_layout=pn.Row,
                        levels=10, cmap='reds', line_width=2))

widgets

@philippjfr
Copy link
Member

Looks great!

@jsignell jsignell merged commit 0301d73 into master Oct 17, 2019
@jsignell jsignell deleted the jsignell/groupby_widgets branch October 17, 2019 20:36
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 this pull request may close these issues.

2 participants