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

Turn off minor ticks for pixel and cell cluster overlay colorbar #912

Merged
merged 3 commits into from
Feb 16, 2023

Conversation

alex-l-kong
Copy link
Contributor

What is the purpose of this PR?

Closes #911. matplotlib 3.7.0 adds intermediate minor ticks in between the colorbar entries. These need to be removed.

How did you implement your changes

Explicitly loop through all of these minor ticks and invoke set_visible(False) on them.

@alex-l-kong alex-l-kong self-assigned this Feb 14, 2023
Copy link
Contributor

@cliu72 cliu72 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

@alex-l-kong alex-l-kong merged commit d536fde into main Feb 16, 2023
@alex-l-kong alex-l-kong deleted the cbar_minor_ticks branch February 16, 2023 03:15
@srivarra srivarra added the bug Something isn't working label Feb 16, 2023
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

Successfully merging this pull request may close these issues.

matplotlib 3.7.0 update causes colorbar tick mark bug for pixel and cell cluster overlays
3 participants