Skip to content

DOC: Add bar, stairs, histogram and occupancy gallery figures - #171

Merged
thclark merged 1 commit into
bars-and-histogramsfrom
bars-histograms-docs
Oct 26, 2026
Merged

thclark merged 1 commit into
bars-and-histogramsfrom
bars-histograms-docs

Conversation

@thclark

@thclark thclark commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Stage 6 of the bars and histograms epic.

New gallery figures

Figure What it shows
bar_chart Grouped bars made with bars.
bar_variants Stacked bars with negative parts, horizontal bars with long names, floating bars, and per-bar colours.
stairs Sample-and-hold steps, and an octave-band spectrum.
histogram Density step outlines with fitted normals, and stacked counts.
histogram_2d A 2D histogram on a log colour scale, beside filled density contours.
branch_coverage The #74 branch map: grouped rows under bold headers, ragged rows and a hidden x axis.
coverage_matrix The #74 case matrix: turned monospace names, a discrete colourbar, a not-entered key and a dot overlay.

Tests and documentation

  • The gallery coverage test now requires ten new chart types.
  • The registry test now refuses layout warnings.
  • The guides and references link to the new figures, and the documentation touched by the epic has been checked for consistency.

Unchanged

Existing gallery outputs are byte-identical, and no library behaviour changes.

Add seven gallery figures: grouped bars, four bar variants, stairs,
histograms, a 2D histogram with density contours, a branch coverage
map and a case coverage matrix. Require the chart types in the
coverage test, refuse layout warnings in the registry test, and link
the guides and references to the new figures.
@thclark
thclark merged commit 813d82a into bars-and-histograms Oct 26, 2026
7 checks passed
thclark added a commit that referenced this pull request Oct 26, 2026
Add seven gallery figures: grouped bars, four bar variants, stairs,
histograms, a 2D histogram with density contours, a branch coverage
map and a case coverage matrix. Require the chart types in the
coverage test, refuse layout warnings in the registry test, and link
the guides and references to the new figures.
@thclark
thclark deleted the bars-histograms-docs branch October 26, 2026 14:42
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