You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a21da1f
Browse filesBrowse the repository at this point in the historyBrowse files
Fix pedantic doc/lazy-static lints and add_frames duplication
Address clippy::missing_panics_doc, missing_errors_doc, doc_markdown,
non_std_lazy_statics and cargo::redundant_homepage:
- Add `# Errors` / `# Panics` sections to public fallible APIs,
including the wasm-only bindings and callbacks.
- Backtick identifiers in docs and fix unbalanced backticks; add
clippy.toml whitelisting WebDriver, MapLibre, GeoJSON, MathJax and
ModeBar as product names.
- Switch theme statics to std::sync::LazyLock and drop once_cell.
- Remove `homepage` fields duplicating `repository`.
Also fix Plot::add_frames adding every frame twice when the plot had
no frames yet, with a regression test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Theme statics in `plotly::layout::themes` (`DEFAULT`, `PLOTLY_WHITE`, `PLOTLY_DARK`, …) are now `std::sync::LazyLock<Template>` instead of `once_cell::sync::Lazy<Template>`; the `once_cell` dependency is dropped. Code that only dereferences them is unaffected
35
+
- Add `# Errors`/`# Panics` sections to public fallible APIs and tidy doc formatting (clippy `missing_errors_doc`, `missing_panics_doc`, `doc_markdown`)
34
36
35
37
### Removed
36
38
37
39
- The deprecated Kaleido static export backend: the `plotly_kaleido` crate is no longer part of the workspace, and the `kaleido` and `kaleido_download` features are gone. Use the `static_export_*` features (`plotly_static`) instead
38
40
- The deprecated `ImageFormat::EPS` variant. Use `ImageFormat::SVG` or `ImageFormat::PDF` for vector output
39
41
42
+
### Fixed
43
+
44
+
-`Plot::add_frames` no longer adds every frame twice when the plot has no frames yet
45
+
40
46
### Security
41
47
42
48
- Remove the unused `zip` build-dependency from `plotly_static`; with `plotly_kaleido` gone, no workspace crate depends on `zip` directly
0 commit comments