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

colorbar tick mark offset #1718

Closed
kswang1029 opened this issue Nov 26, 2021 · 1 comment
Closed

colorbar tick mark offset #1718

kswang1029 opened this issue Nov 26, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@kswang1029
Copy link
Collaborator

The tick mark of the colorbar seems to have a small offset in the expected location. In this example, the pixel value varies from 0, 1, 2, ..., 8, 9 and NaN from left to right. If we configure the colorbar range from -0.5 to 9.5, we should expect to see the tick marks at 0, 1, 2, and so on are centered at corresponding color blocks. Apparently there is a small offset in each.

Screen Shot 2021-11-26 at 1 07 00 PM

@kswang1029
Copy link
Collaborator Author

based on further test, this is due to the inconsistency of the color blocks. So I guess it is related to #1717

Screen Shot 2021-11-26 at 3 25 47 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant