Skip to content

Commit 43c35ea

Browse files
authored
fix: pass sec-x-extent to facet-grid legend (#46)
2 parents 7b0759f + 75e5c98 commit 43c35ea

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- feat: `labs()` fields default to `auto`; pass `none` to suppress an axis or legend title and reclaim the space it reserved. (#12)
1313
- feat: `element-blank()` on a text surface (axis, plot, or legend title) collapses the space the text would reserve. (#12)
1414
- feat: `width`/`height` accept `auto` to fill the available space of a bounded container. (#10)
15+
- fix: facet-grid legends reserve space for a secondary x-axis so a top legend no longer overlaps its ticks. (#46)
1516
- fix: `geom-errorbar()`/`geom-errorbarh()`/`geom-rug()` resolve an `after-scale`/`stage` colour mapping instead of panicking. (#45)
1617
- fix: continuous legends fall back to computed breaks when every user-supplied break falls outside the domain. (#44)
1718
- fix: `coord-cartesian(xlim:/ylim:)` zooms continuous axes instead of being ignored. (#43)

src/render.typ

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,6 +2986,7 @@
29862986
margin: margin,
29872987
legend-gap: legend-gap,
29882988
sec-y-extent: sec-y-extent,
2989+
sec-x-extent: sec-x-extent,
29892990
right-strip: right-strip,
29902991
top-strip: top-strip,
29912992
theme: theme,

0 commit comments

Comments
 (0)