Skip to content

Plot RecordData directly and refresh README for 6.0 - #926

Merged
tompollard merged 4 commits into
mainfrom
docs/modern-readme-v6
Dec 4, 2026
Merged

tompollard merged 4 commits into
mainfrom
docs/modern-readme-v6

Conversation

@tompollard

@tompollard tompollard commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Refresh the README and PyPI landing page for 6.0, and let the new RecordData plot directly. The README now starts with the modern read result, gives a short API map, shows read/edit/write workflows, and explains when to use write_record versus write_signals.

RecordData.plot(annotation=..., ...) provides the short plotting call. plot_wfdb now accepts RecordData as well as legacy Record, so existing calls still work. Masked digital samples appear as gaps, including for format 8, without materializing a legacy Record. A sparse-annotation label also keeps the / between channel name and unit.

The demo notebook and plotting docs use the direct call. The new public behavior has a changelog fragment for the 6.0 release notes.

wfdb.plot is already the plotting subpackage, so a top-level function with that name would conflict with it; record.plot() gives the concise spelling.

Checks

  • Full offline suite: 2,376 passed, 4 skipped, 23 network tests deselected.
  • Plotting tests: 22 passed, covering physical and digital uniform data, expanded sample rates, annotations, legacy behavior, and masked format-8 gaps.
  • Every offline code cell in demo.ipynb ran successfully.
  • Ruff check and format check passed; Sphinx built with warnings as errors.
  • uv build produced the 6.0.0 wheel and sdist with the updated README.

I would merge this before publishing v6.0.0. Its changelog fragment should then be collected into the 6.0 release notes.

@tompollard tompollard changed the title Refresh README and PyPI landing page for 6.0 Plot RecordData directly and refresh README for 6.0 Dec 4, 2026
@tompollard
tompollard merged commit f9b4443 into main Dec 4, 2026
19 checks passed
@tompollard
tompollard deleted the docs/modern-readme-v6 branch December 4, 2026 21:35
tompollard added a commit that referenced this pull request Dec 4, 2026
## Summary

Collect #926's `RecordData.plot` changelog fragment into the existing
6.0.0 section and mention direct plotting in the release overview. This
keeps the published changelog complete before creating the `v6.0.0`
GitHub release.

No package code or version changes are included.

## Checks

- Sphinx built with warnings as errors.
- Ruff check and format check passed.
- `uv build` produced the 6.0.0 wheel and sdist.
- #926's full offline suite passed (2,376 tests); its cross-platform CI
is finishing.

After this merges and CI passes, publish `v6.0.0` from the merge commit.
The release workflow will upload the resulting distributions to PyPI.
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.

1 participant