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

Consider having range mark derive min/max from data when not given #3024

Closed
mwaskom opened this issue Sep 14, 2022 · 0 comments · Fixed by #3056
Closed

Consider having range mark derive min/max from data when not given #3024

mwaskom opened this issue Sep 14, 2022 · 0 comments · Fixed by #3056

Comments

@mwaskom
Copy link
Owner

mwaskom commented Sep 14, 2022

Marks that are based on min/max (i.e. Range or Band) assume that {var}min/{var}max variables are present. (Currently they fail with a pretty unhelpful error if not present, which we should generally fix). If those variables are not present, should these marks represent the entire range of the value variable?

This would be useful in contexts like the planned Percentiles stat; we want that to be able to reduce a distribution to an arbitrary number of percentiles (to show with a dash mark or similar), but we also want to be able to show percentile ranges. Clumsy idea like Percentiles([25, 75], range=True) are possible, the proposed behavior would simplify that. I'm not sure if there are any potential downsides to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant