Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animated webp as an output of a code cell is converted to single image webp #1843

Open
arminms opened this issue Feb 7, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@arminms
Copy link

arminms commented Feb 7, 2025

Description

Animated webp is supported by Jupyter as an output of a code cell. When I open and run a MyST markdown file containing such a code cell in Jupyter, it shows the animation. But when I generate a MyST website using --execute option, it replaces the output with a still webp image. The same thing works with gif animation. You can see both of them on the following page:

https://armin.sobhani.me/g3p/animating-plots#webp-animations

On the above page, if you activate in-browser execution and run it, the animated webp starts to play.

myst version: v1.3.20

Proposed solution

Disable processing of webp images and let them pass through.

Additional notes

@arminms arminms added the bug Something isn't working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant