Skip to content

Conversation

ksunden
Copy link
Member

@ksunden ksunden commented Aug 7, 2023

PR summary

Converts some % format strings into f-strings.

This is needed because of numpy/numpy#22449, which makes numpy scalars have a repr with e.g. np.float64(3.0) rather than just 3.0.
Thus the !r/!a was left off in the conversion to f-string as that is the actual required change.

closes #26460 xref #26422

PR checklist

@ksunden ksunden changed the title Adjust for upcoming numpy repr changes MNT: Adjust for upcoming numpy repr changes Aug 7, 2023
@ksunden ksunden added this to the v3.8.0 milestone Aug 7, 2023
Copy link
Member

@tacaswell tacaswell left a comment

Choose a reason for hiding this comment

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

Anyone can merge on CI green.

@ksunden ksunden merged commit e4905bf into matplotlib:main Aug 7, 2023
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.

[TST] Upcoming dependency test failures
3 participants