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

automatic color identity range #675

Closed
wants to merge 1 commit into from
Closed

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented Jan 16, 2022

Alternative to #673 and #660. For ordinal or categorical color scales, if the domain contains only valid color values (or undefined or null), and neither a scheme nor a range is set, then the range defaults to the domain.

@mbostock
Copy link
Member Author

I think I prefer #676 to this.

@mbostock mbostock closed this Jan 17, 2022
@mbostock mbostock deleted the mbostock/identity-range branch January 17, 2022 04:50
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.

1 participant