-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Multi layers DECK.GL visualization #4096
Conversation
4b5a782
to
d161989
Compare
superset/viz.py
Outdated
slice_ids = fd.get('deck_slices') | ||
slices = db.session.query(Slice).filter(Slice.id.in_(slice_ids)).all() | ||
data = [] | ||
for slc in slices: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: data = [slc for slc in slices]
I would even put the [slc for slc in slices]
in the actual return statement
return {
'mapboxApiKey': config.get('MAPBOX_API_KEY'),
'slices': [slc for slc in slices],
}
LGTM 🚢 |
d161989
to
609ba6e
Compare
* Multi layers DECK.GL viz * Fix tests * rebasing * Fix error handling in chartActions * Addressing comments
Wanted to confirm if auto-zoom on a multi layer Deck is not supported? Currently layering 2 Scatters does not allow for auto zoom even with conformed column name filters. |
Not currently supported as far as I know. |
* Multi layers DECK.GL viz * Fix tests * rebasing * Fix error handling in chartActions * Addressing comments
Allows users to pile up many DECK.GL slices into a single visualization
fixes #4084