Skip to content

ggrust 0.4.0

Choose a tag to compare

@Zaf4 Zaf4 released this 05 Nov 21:53
· 249 commits to main since this release

Highlights

  • Arrow axis lines, oob= on color scales, and colorbar end labels.
  • HTML plots shrink to fit their container.

Added

  • element_line(arrow=, extent=) on axis lines: arrow heads and partial axis lines (for UMAP-style corner axes).
  • oob="censor" | "squish" on continuous color and fill scales.
  • guide_colorbar(label_position="ends"): min and max labels beside the ends of the bar.
  • lineheight on geom_text and geom_label.

Changed

  • A later style scale that sets a mapper (scale_color_manual after a default brewer scale, for example) now replaces the earlier one, as in ggplot2. Names, breaks, labels, limits, guide and trans still merge.
  • HTML plots wider than their notebook cell or docs column shrink to fit, keeping their aspect ratio. Tooltips and zoom keep working.

Fixed

  • gggrid(guides="collect"): each collected legend keeps its own figure's theme.
  • Horizontal colorbars reserve room for end labels so they no longer run into the title.