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

fix empty facet bug #1215

Closed
wants to merge 1 commit into from
Closed

fix empty facet bug #1215

wants to merge 1 commit into from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Jan 10, 2023

When the facet domain does not include any value from the actual contents, the facet index is undefined instead of [].

I'm not sure this is the correct fix, I have an alternative that moves a bit more things but seems better in #1216

closes #1212

Fil added a commit that referenced this pull request Jan 10, 2023
closes #1212
alternative to #1215
@Fil Fil mentioned this pull request Jan 10, 2023
mbostock pushed a commit that referenced this pull request Jan 17, 2023
closes #1212
alternative to #1215
@mbostock
Copy link
Member

Superseded by #1216.

@mbostock mbostock closed this Jan 17, 2023
@mbostock mbostock deleted the fil/empty-facet-1212 branch January 17, 2023 17:30
mbostock added a commit that referenced this pull request Jan 17, 2023
* [] is an empty facet

closes #1212
alternative to #1215

* consistent filtering

Co-authored-by: Mike Bostock <[email protected]>
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
* [] is an empty facet

closes observablehq#1212
alternative to observablehq#1215

* consistent filtering

Co-authored-by: Mike Bostock <[email protected]>
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.

crash with empty facets
2 participants