Skip to content

Trouble saving images during build #4661

@t-makaro

Description

@t-makaro

Details

Sphinx-gallery is trying to add support for images that are saved to disk when an example is run:sphinx-gallery/sphinx-gallery#417 (comment)

I am trying to get a prototype of this to work over at: t-makaro/animatplot#14

My docs build works perfectly locally or on cirleci, but for some reason when run on RTD the image files do not seem to be produced properly. (This would be much easier to debug if I could download the built source off RTD). The images are being saved to disk using matplotlib's PillowWriter, but for some reason on RTD only the first frame is saved.

Expected Result

Two images are produced, and there are both animated. See:

https://145-87026896-gh.circle-artifacts.com/0/home/circleci/project/docs/build/html/auto_examples/plot_sqwell.html

Actual Result

Two images are produced, but they are static.

https://animatplot.readthedocs.io/en/latest/auto_examples/plot_sqwell.html#sphx-glr-auto-examples-plot-sqwell-py

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needed: more informationA reply from issue author is requiredStatus: staleIssue will be considered inactive soonSupportSupport question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions