hydromodpy.display.animation#

Animation builders that stitch pre-rendered PNG frames together.

Three optional backends:

  • build_gif() (PIL) - always available with the base install.

  • build_mp4() (imageio + ffmpeg) - silently skipped when missing.

  • build_plotly_slider() (plotly) - silently skipped when missing.

Functions

build_gif(*, frame_paths, gif_path[, ...])

Assemble PNG frames into an animated GIF.

build_mp4(*, frame_paths, mp4_path[, fps])

Assemble PNG frames into an MP4 (requires imageio/ffmpeg).

build_plotly_slider(*, frame_paths[, ...])

Build an HTML image-slider (requires plotly).