Skip to content

Port raw_plot and cycle_info_plot to prepare→spec→render#653

Merged
jepegit merged 1 commit into
masterfrom
647-port-raw-and-cycle-info-plot
Jul 23, 2026
Merged

Port raw_plot and cycle_info_plot to prepare→spec→render#653
jepegit merged 1 commit into
masterfrom
647-port-raw-and-cycle-info-plot

Conversation

@jepegit

@jepegit jepegit commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Route raw_plot and cycle_info_plot through prepare → FigureSpec → backend kind branches (raw / cycle_info), mirroring Port cycles_plot to prepare→spec→render #646.
  • Add prepare/raw.py and prepare/steps.py, move LiveHeaders into cellpy.plotting.headers, and label axes via plotting.labels + units_label.
  • Flip both entry points to backend= with deprecated interactive=; keep matplotlib cycle_info_plot single-cycle asymmetry.

Closes #647.

Test plan

  • MPLBACKEND=Agg uv run pytest tests/test_raw_cycle_info_prepare.py tests/test_plotutils_headers.py tests/test_figure_specs.py -q
  • MPLBACKEND=Agg uv run pytest -m essential --ignore=tests/test_arbin_variants_two_stage.py
  • CI green on this PR

Made with Cursor

Route both entry points through registry/prepare/backend kind branches,
centralize LiveHeaders and axis labels, and keep matplotlib cycle_info
single-cycle behaviour with oracle parity (#647).

Co-authored-by: Cursor <cursoragent@cursor.com>
@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 0d669a2 into master Jul 23, 2026
6 checks passed
@jepegit
jepegit deleted the 647-port-raw-and-cycle-info-plot branch July 23, 2026 13:32
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.

Port raw_plot and cycle_info_plot

1 participant