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

Cleanup AutoMinorLocator implementation. #26609

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Aug 26, 2023

No change to logic, only rewriting things in a slightly more compact manner, and making the len(majorlocs) < 2 case tested more explicitly than via an IndexError.

Noticed while looking at #26484.

PR summary

PR checklist

No change to logic, only rewriting things in a slightly more compact
manner, and making the `len(majorlocs) < 2` case tested more explicitly
than via an IndexError.
@oscargus oscargus added this to the v3.9.0 milestone Aug 28, 2023
@oscargus oscargus merged commit a40d22b into matplotlib:main Aug 28, 2023
42 checks passed
@anntzer anntzer deleted the aml branch August 28, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants