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

When a reducer expects numeric input but is given non-numeric input, it should raise an error. #473

Open
mbostock opened this issue Aug 1, 2021 · 0 comments · May be fixed by #487
Open
Labels
documentation Improvements or additions to docs

Comments

@mbostock
Copy link
Member

mbostock commented Aug 1, 2021

Following up on #399 (comment). For example, if you pass ordinal data (strings) to a sum reducer, Plot could detect that and raise a helpful error rather than producing NaN output.

@mbostock mbostock added the documentation Improvements or additions to docs label Aug 1, 2021
@mbostock mbostock changed the title When a reducer excepts numeric input but is given non-numeric input, it should raise an error. When a reducer expects numeric input but is given non-numeric input, it should raise an error. Aug 1, 2021
Fil added a commit that referenced this issue Aug 7, 2021
…numeric input

Add tests for the normalize transform
closes #473
Fil added a commit that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant