Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow Python native sequences in Matplotlibimsave().#29931

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ksunden merged 1 commit intomatplotlib:mainfromguillermodotn:imsave-seq-fix
Apr 17, 2025

Conversation

guillermodotn
Copy link
Contributor

PR summary

This PR addresses issue#29183 by casting Python sequence types (e.g., lists or tuples) toNumPy arrays during the image saving process.

The implementation is inspired by PR#29203 by@gpxxlt, which currently appears to be on hold.

PR checklist

NGWi reacted with thumbs up emoji
Co-authored-by: Yuepeng Gu <yuepengg@andrew.cmu.edu>
Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

@tacaswelltacaswell added this to thev3.10.2 milestoneApr 17, 2025
@ksundenksunden merged commit6d98336 intomatplotlib:mainApr 17, 2025
40 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestApr 17, 2025
@QuLogic
Copy link
Member

Why did ruff not catch the style errors here (which the backport did since it's still using flake8)?

@guillermodotn
Copy link
ContributorAuthor

Why did ruff not catch the style errors here (which the backport did since it's still using flake8)?

It seems the ruleE302 is not enforced inpyproject.toml, as seenhere.

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

@ksundenksunden mentioned this pull requestMay 9, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@tacaswelltacaswelltacaswell approved these changes

@ksundenksundenksunden approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.10.3
Development

Successfully merging this pull request may close these issues.

4 participants
@guillermodotn@QuLogic@tacaswell@ksunden

[8]ページ先頭

©2009-2025 Movatter.jp