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

Fix: respect animated=True for imshow; add regression test (closes #18985)#30643

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

Open
joeljdom wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromjoeljdom:fix-imshow-animated

Conversation

joeljdom
Copy link

AxesImage objects created by imshow(..., animated=True) were still drawn on the initial render. Other artists marked animated=True are skipped until explicitly drawn, so this was inconsistent.

This PR removes the special-case that exempted AxesImage from the animated filter in _AxesBase.draw. Animated images are now treated the same as other animated artists on first draw. A regression test asserts visual equality with a blank reference.

Why needed: makes animated=True semantics consistent across artist types and prevents confusing initial frames in animation workflows.

PR checklist

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Why does setting imshow(animated=True) still show an image?
1 participant
@joeljdom

[8]ページ先頭

©2009-2025 Movatter.jp