Skip to content

SurvScope 0.4.2 — full legend editing and compact controls

Choose a tag to compare

@YaoxiangLi YaoxiangLi released this 21 Sep 19:13
172abfb

SurvScope 0.4.2 lets you edit an entire legend entry directly on the figure and makes the Properties toolbar more compact.

  • Double-click a legend entry to edit its full text, including n and e, with rich formatting. Each outcome has its own entries. Reset restores the automatic data label. Saved projects and vector exports retain the displayed text, while curves, analysis JSON, and citation counts keep the calculated results.
  • Older projects with shared rich group names remain compatible. Group-name fields still rename all outcomes and restore their automatic counts. Legends and their text respect parent locks and movement.
  • Alignment and annotation commands now appear as a compact icon toolbar. Redundant Arrange headings, alignment captions, permanent editing hints, and repeated font descriptions were removed. Hover help, shortcuts, and accessible names remain available.
  • Browser and Python figures omit the duplicate q label when only one outcome has a finite log-rank p-value, as in current CPTAC analyses. The calculated q remains in JSON. TCGA adjustment continues to include all tested outcomes when panels are hidden.
  • The README and illustrated guide explain n/e counts, censoring, p/q equality, and full legend editing. n counts patients, e counts observed events, and e cannot exceed n; equality is possible. BH adjustment of one test correctly gives q = p. Numerical algorithms and the immutable data-v2026.09.18 catalog are unchanged.

Validation: 58 Python tests across Python 3.10/3.12/3.13; 26 browser unit tests; 31 Playwright scenarios across Chromium, Firefox, and WebKit; 744 Python/JavaScript/R fixture endpoint comparisons with zero failures; Ruff, production build, dependency audit, and package checks. The default SRD5A1/PAAD figure is pixel-identical to v0.4.1 in the recorded browser comparison and retains its 6.8-inch dimensions. Production deployment passed 5,256 endpoint comparisons across all 51 TCGA/CPTAC cohorts with zero JavaScript or R comparison failures and matching source hashes. The immutable data release passed checksum, coverage, and asset-count checks (869 assets); the deployed site is 837,167,665 bytes (798.4 MiB), below the 850 MiB budget.

Live checks at 1080p and 4K confirmed the new version, complete legend editing, project reopening, SVG export, citations, all seven font families, and single-outcome q display across TCGA and CPTAC examples. There were zero page errors, failed responses, or third-party runtime requests.

Open SurvScope · User guide · Statistical methods

The attached Python wheel is ready to install. PyPI still requires the repository's Trusted Publisher registration; publishing continues to use GitHub OIDC.