Skip to content

Conversation

@jameshadfield
Copy link
Member

Improves the situation where the JSON defines legend anchors but not a scale by forcing the color-scale domain to include said anchors.

The implementation is ok, but the legend/anchors block of the JSON scale isn't yet validated when we create the scale domain so we are using unvalidated data. Improving this would involve a bigger refactor which doesn't seem worth it at the moment.

Needs more testing!

cc @kimandrews

Improves the situation where the JSON defines legend anchors but not a
scale by forcing the color-scale domain to include said anchors.

The implementation is ok, but the legend/anchors block of the JSON scale
isn't yet validated when we create the scale domain so we are using
unvalidated data. Improving this would involve a bigger refactor which
doesn't seem worth it at the moment.

Needs more testing!
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-james-anchors-i-obbk5a September 30, 2025 23:33 Inactive
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.

3 participants