Skip to content

Backport PR #29931 on branch v3.10.x (Allow Python native sequences in Matplotlib imsave().) #29933

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

Conversation

meeseeksmachine
Copy link
Contributor

Backport PR #29931: Allow Python native sequences in Matplotlib imsave().

@lumberbot-app lumberbot-app bot added this to the v3.10.2 milestone Apr 17, 2025
@QuLogic
Copy link
Member

QuLogic commented Apr 18, 2025

The style is off here and flake8 is failing, but I don't know why ruff didn't catch it in the original PR.

@guillermodotn
Copy link
Contributor

It seems the rule E302 is not enforced in pyproject.toml, as seen here.

According to the Ruff documentation, this rule is currently marked as unstable, so Matplotlib doesn’t appear to make use of it at the moment.

@tacaswell
Copy link
Member

Looks like this has been in ruff from 0.2.2 (astral-sh/ruff@9027169)

@timhoffm timhoffm merged commit 7dfb4e4 into matplotlib:v3.10.x Apr 20, 2025
37 of 39 checks passed
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.

6 participants