Repository navigation
FEA: Draw cells with categorical rows and occupancy matrices - #165
Merged
Merged
Conversation
Draw cells between their edges with gaps measured on the page, coloured through their scale with alpha and opacities, and give them tight limits, legend sweeps, hits and datatips that name their row and column categories. Add cells, occupancy and the x and y category helpers, including grouped rows under bold headers, and set \textbf arguments in the bundled bold face. Share rectangle and category code with bars.
thclark
added a commit
that referenced
this pull request
Oct 26, 2026
Draw cells between their edges with gaps measured on the page, coloured through their scale with alpha and opacities, and give them tight limits, legend sweeps, hits and datatips that name their row and column categories. Add cells, occupancy and the x and y category helpers, including grouped rows under bold headers, and set \textbf arguments in the bundled bold face. Share rectangle and category code with bars.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage 4 of the bars and histograms epic. It delivers the occupancy matrices of #74, except for the margin table of counts, which is left to the table chart type (#121).
Cells
Tip::Celldatatips report the row and column, the value (category, index or value, as for pixels) and the row and column category names. They appear on the native canvas and on the web.Facade
cellsandoccupancy.occupancypads ragged rows with NaN, uses gaps of 0.2 and hides the x axis.xcategories,ycategories(first category at the top) andycategory_groups. The last returns aCategoryRowsthat places data in grouped rows under\textbfheaders.Supporting changes
\textbf{…}is set in the bundled bold face.Existing gallery figures render byte-identically.