Skip to content

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

3 participants