Skip to content

kaleido pinned to deprecated 0.2.1; no PNG fallback #18

Description

@nsursock

Problem

  • kaleido==0.2.1 pinned in pyproject.toml:14 is deprecated (plotly warns it is removed after Sept 2025).
  • write_png has no in-code retry/fallback (viz.py:133-135), despite README claiming a graphviz fallback — a single PNG failure aborts the whole multi-seed run.

Suggested fix

  • Bump kaleido>=1.0.0.
  • Wrap fig.write_image in try/except; on failure log and continue per-seed (or fall back to HTML).

Impact

PNG export breaks batch runs; deprecation warnings already pollute test output.

Ref: src/dirty_fin_reports/simple/viz.py:133-135; pyproject.toml:14; README.md:18-20

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions