Skip to content

Check if transformed limits in binning scales are valid before assigning them #4676

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

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

thomasp85
Copy link
Member

Fix #4510

This PR fixes a rare bug when the scale derives new limits to make the terminal bins equal size and these limits ends up being invalid for the given transformation (e.g. log10)

Copy link
Member

@yutannihilation yutannihilation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@thomasp85 thomasp85 merged commit a1b7054 into main Nov 24, 2021
@thomasp85 thomasp85 deleted the issue-4510-scale-bin-NaN-limits branch November 24, 2021 08:21
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.

scale_*_steps (presumably binned_scales) doesn't like 0.01 with trans="log10"
2 participants