Skip to content

Matplotlib backend; retire SeabornPlotBuilder; unify backend= (#639)#645

Merged
jepegit merged 5 commits into
masterfrom
cursor/639-mpl-backend-4efd
Jul 23, 2026
Merged

Matplotlib backend; retire SeabornPlotBuilder; unify backend= (#639)#645
jepegit merged 5 commits into
masterfrom
cursor/639-mpl-backend-4efd

Conversation

@jepegit

@jepegit jepegit commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #639 (epic #567 Stage 1): add MatplotlibBackend, retire SeabornPlotBuilder, and unify summary_plot on backend="plotly"|"matplotlib" with interactive= as a warn_once alias (removal 2.1).

Changes

  • New cellpy/plotting/backends/mpl.pyMatplotlibBackend.render (seaborn styling/faceting helpers)
  • get_backend("plotly"|"matplotlib")
  • summary_plot(..., backend=...); interactive= deprecated alias
  • Deleted SeabornPlotBuilder
  • DEPRECATIONS.md + seed registration
  • Tests + design notes
  • HISTORY Unreleased bullet; issue docs archived under .issueflows/03-solved-issues/

Test plan

uv sync --extra batch
MPLBACKEND=Agg uv run pytest tests/test_mpl_backend.py tests/test_figure_specs.py -q
MPLBACKEND=Agg uv run pytest -m essential --ignore=tests/test_arbin_variants_two_stage.py

Closeout verified: figure-specs/mpl suites + essential gate green.

Open in Web Open in Cursor 

cursoragent and others added 5 commits July 23, 2026 06:50
Seed focus tracking for epic #567 Stage 1: mpl backend, retire
SeabornPlotBuilder, and unify summary_plot backend=.

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Draft approach for MatplotlibBackend (seaborn styling), retiring
SeabornPlotBuilder, and deprecating summary_plot(interactive=).

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Add MatplotlibBackend (seaborn styling/faceting helpers), resolve backends
via get_backend, deprecate summary_plot(interactive=) in favour of
backend=, and delete SeabornPlotBuilder.

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Seed summary_plot(interactive=...) in _deprecation, regenerate
DEPRECATIONS.md, import numpy in MatplotlibBackend, and clear
warn_once sites so the essential suite is order-independent.

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
Record the Unreleased HISTORY bullet and move issue639 tracking files
to 03-solved-issues with Done checked after green closeout tests.

Co-authored-by: Jan Petter Maehlen <jepe@ife.no>
@jepegit
jepegit marked this pull request as ready for review July 23, 2026 07:32
@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jepegit
jepegit merged commit 497118e into master Jul 23, 2026
6 checks passed
@jepegit
jepegit deleted the cursor/639-mpl-backend-4efd branch July 23, 2026 07:33
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.

Matplotlib backend; retire SeabornPlotBuilder; unify backend=

2 participants