Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Use FuncAnimation in 3D animations#31471

Merged
timhoffm merged 1 commit intomatplotlib:mainfrom
QuLogic:doc-anim3d
Apr 8, 2026
Merged

DOC: Use FuncAnimation in 3D animations#31471
timhoffm merged 1 commit intomatplotlib:mainfrom
QuLogic:doc-anim3d

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Apr 8, 2026

PR summary

These examples were disabled because the manual pausing caused the example to take very long while the docs were being built. Using the animation framework works if run by itself and also in Sphinx-Gallery, which can then have the frames generated as quickly as possible.

That being said, I have only enabled the wire3d animation. The axes3d rotation example goes through so many frames that it takes 3 minutes, which is by far longer than any other example, so it remains skipped. If we wanted to enable that example, we could have it skip angles (by 5 or 10 degrees), but that does make it a bit choppy.

AI Disclosure

None

PR checklist

@github-actions github-actions Bot added the Documentation: examples files in galleries/examples label Apr 8, 2026
Comment thread galleries/examples/mplot3d/wire3d_animation.py Outdated
Comment thread galleries/examples/mplot3d/wire3d_animation.py Outdated
These examples were disabled because the manual pausing caused the
example to take very long while the docs were being built. Using the
animation framework works if run by itself and also in Sphinx-Gallery,
which can then have the frames generated as quickly as possible.

That being said, I have only enabled the wire3d animation. The axes3d
rotation example goes through so many frames that it takes over 3
minutes, which is by far longer than any other example, so it remains
skipped.
@timhoffm timhoffm added this to the v3.11.0 milestone Apr 8, 2026
@timhoffm timhoffm merged commit a7fc902 into matplotlib:main Apr 8, 2026
21 checks passed
@QuLogic QuLogic deleted the doc-anim3d branch April 8, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: examples files in galleries/examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants