-
Notifications
You must be signed in to change notification settings - Fork 33
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
DataFilterExtension bug - 'get_filter_value' trait of a ScatterplotLayer instance expected filter_size (3) to match 2nd dimension of numpy array #363
Comments
You're passing filter_extension = DataFilterExtension(filter_size=3) If you're filtering on one column you need to remove that or set to Aside: We should probably create a bug-specific issue ticket format. cc @emmalu |
Additionally you only need to create a multi-dimensional array when filter_size > 1, so you don't need the |
Awesome, figured it was something simple. Thank you Kyle!! |
Small note in case this is under active development: instead of (Coming from machine learning, 'size' in variable names tend to be for other things.) |
💯 Will do! |
I agree that I don't love |
Context
Need to make several dashboards that have filtering linked to a map (#353).
Issue
Cannot use DataFilter extension: getting this error -
To reproduce: https://github.com/jaanli/lonboard/blob/example-american-community-survey/examples/american-community-survey.ipynb
Acceptance-Criteria
Mapping various census variables and filtering using them for exploratory data analysis and understanding social value + capital deployment using our tax dollars.
The text was updated successfully, but these errors were encountered: