DOC: Use FuncAnimation in 3D animations#31471
Merged
timhoffm merged 1 commit intomatplotlib:mainfrom Apr 8, 2026
Merged
Conversation
timhoffm
reviewed
Apr 8, 2026
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
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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