Skip to content

Automatically opt-out of opacity scale if channel values are in [0, 1] #1308

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

Closed
mbostock opened this issue Mar 2, 2023 · 0 comments · Fixed by #1310
Closed

Automatically opt-out of opacity scale if channel values are in [0, 1] #1308

mbostock opened this issue Mar 2, 2023 · 0 comments · Fixed by #1310
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

mbostock commented Mar 2, 2023

Similar to what we do for color and symbol scales, we could opt-out of the opacity scale if all values are numbers in the range [0, 1]. This is slightly more likely to have a false positive than with color and symbol scales, but is might still be a good idea. Ref. #1307.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant