Skip to content

chore!: remove legacy Plotly API and dependency - #147

Merged
afermg merged 1 commit into
mainfrom
chore/remove-plotly
Sep 30, 2026
Merged

afermg merged 1 commit into
mainfrom
chore/remove-plotly

Conversation

@afermg

@afermg afermg commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #129.

  • Remove the legacy copairs.plot module and its API documentation/navigation.
  • Remove Plotly's optional extra, dependency group, and README entry.
  • Prune Plotly and its now-unused Narwhals dependency from uv.lock, without upgrading retained dependencies.

Intentional API removal: copairs.plot, copairs[plot], and the plot dependency group are removed. This was explicitly approved after the audit found that deleting only the dependency would break the still-documented API. copairs.replicating and the Matplotlib-based examples are unchanged.

Validation

  • Full suite: 68 passed on managed Python 3.14 with frozen dependencies.
  • Ruff lint and format checks passed.
  • Strict MkDocs build passed; 70 generated API-page local link targets resolved.
  • Lock consistency and installed dependency checks passed; only Plotly/Narwhals were removed.
  • Verified the removed module/dependency are absent while replication and Matplotlib imports still work.

Notebook conversion emitted existing unclosed-Div warnings; no unrelated notebook changes were made.

@afermg
afermg marked this pull request as ready for review September 30, 2026 19:34
@afermg
afermg force-pushed the chore/remove-plotly branch from 4ac1767 to 4cb5b82 Compare September 30, 2026 19:35
@afermg
afermg merged commit 5d9b224 into main Sep 30, 2026
13 checks passed
@afermg
afermg deleted the chore/remove-plotly branch September 30, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete plotly dependency

1 participant