Skip to content

Conversation

@QuLogic
Copy link
Member

@QuLogic QuLogic commented Feb 16, 2024

PR summary

Because the default is Base64-encoded frames of PNGs, this should save a substantial amount of space in the resulting docs. We may want to increase the bitrate slightly, though most of the videos seem clear enough to me.

This currently depends on sphinx-gallery/sphinx-gallery#1243 and sphinx-contrib/video#36.

These results are probably on the upper end, depending on if we change the bitrate, but disk usage is reduced substantially:

485M	html/
377M	doc/build/html/

That's 108M of savings, or 22% of the original disk usage.

PR checklist

@QuLogic QuLogic added this to the v3.9.0 milestone Feb 16, 2024
@github-actions github-actions bot added the Documentation: build building the docs label Feb 16, 2024
@timhoffm
Copy link
Member

timhoffm commented Apr 3, 2024

Bumping to 3.10 as the needed PR sphinx-gallery/sphinx-gallery#1243 is not yet in.

Because the default is Base64-encoded frames of PNGs, this should save a
substantial amount of space in the resulting docs.
@QuLogic QuLogic marked this pull request as ready for review July 26, 2024 01:53
@QuLogic
Copy link
Member Author

QuLogic commented Jul 26, 2024

@QuLogic QuLogic modified the milestones: v3.10.0, v3.9.2 Aug 9, 2024
@ksunden ksunden merged commit 1e98377 into matplotlib:main Aug 9, 2024
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 9, 2024
@QuLogic QuLogic deleted the doc-anim-videos branch August 9, 2024 20:31
ksunden added a commit that referenced this pull request Aug 9, 2024
…797-on-v3.9.x

Backport PR #27797 on branch v3.9.x (DOC: Use video files for saving animations)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: build building the docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants