Skip to content

E1: remove plotting deprecation shims (#713) - #741

Merged
jepegit merged 1 commit into
masterfrom
713-remove-plotting-shims
Jul 27, 2026
Merged

E1: remove plotting deprecation shims (#713)#741
jepegit merged 1 commit into
masterfrom
713-remove-plotting-shims

Conversation

@jepegit

@jepegit jepegit commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Epic E, arc E1 (#713) — remove plotting shims

Removes every plotting shim marked removal: 2.1 in DEPRECATIONS.md.

Removed

  • interactive= on summary_plot / raw_plot / cycle_info_plot / cycles_plot / ica_plot / dva_plotbackend= is the only spelling. Dropped the param, the PlotConfig.interactive field, the inline resolve branches, and the interactive/deprecation_site args of _resolve_plot_backend (now backend-only).
  • cycles_plot(xlim=/ylim=)x_range/y_range only.
  • plotutils.summary_plot_legacy → deleted (it delegated to summary_plot).
  • Batch.plot(backend="seaborn") → removed; seaborn and bokeh backend names now raise ValueError in resolve_batch_plot_backend. (seaborn styling under the matplotlib backend is unaffected.)

Trimmed the E1 rows from the _deprecation seed and regenerated DEPRECATIONS.md.

Tests

Migrated the plotting tests off the removed surface (interactive=Falsebackend="matplotlib", xlim/ylimx_range/y_range) and converted the former "alias warns" tests into signature-based "shim removed" checks — the entry points take **kwargs, so a stray interactive= is silently ignored rather than a TypeError, making signature inspection the correct contract. Local plotting+batch group: 156 passed, planned xfails only.

Note: the CLI setup wizard's interactive= (setup_config) is an unrelated "ask questions" flag, untouched; mpl.py xlim/ylim are matplotlib axis kwargs, not the removed shim.

Closes #713

Remove every plotting shim marked removal:2.1 in DEPRECATIONS.md:

- interactive= (summary_plot / raw_plot / cycle_info_plot / cycles_plot /
  ica_plot / dva_plot) -> backend= is the only spelling. Dropped the param,
  the PlotConfig.interactive field, and the inline/helper resolve branches;
  _resolve_plot_backend is now backend-only.
- cycles_plot(xlim=/ylim=) -> x_range/y_range only.
- plotutils.summary_plot_legacy -> deleted (delegated to summary_plot).
- Batch.plot(backend="seaborn") -> removed; seaborn and bokeh backend names
  now raise ValueError in resolve_batch_plot_backend (seaborn *styling* under
  the matplotlib backend is unaffected).

Trimmed the E1 rows from the _deprecation seed and regenerated DEPRECATIONS.md.
Migrated the plotting tests off the removed surface (interactive=False ->
backend="matplotlib", xlim/ylim -> x_range/y_range) and converted the former
"alias warns" tests into signature-based "shim removed" checks (the entry
points take **kwargs, so a stray interactive= is ignored, not a TypeError).

Note: the CLI setup wizard's interactive= (setup_config) is an unrelated
"ask questions" flag and is untouched; mpl.py xlim/ylim are matplotlib axis
kwargs, not the removed cellpy shim.

Closes #713

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 27, 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 enabled auto-merge (squash) July 27, 2026 09:00
@jepegit
jepegit merged commit 63d913c into master Jul 27, 2026
7 of 8 checks passed
@jepegit
jepegit deleted the 713-remove-plotting-shims branch July 27, 2026 09:02
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.

E1: remove plotting shims (interactive=, xlim/ylim, seaborn, bokeh, summary_plot_legacy)

1 participant