← Back to all sparks
L

legendry

INFRA · APIS
Velocity0.0

Extended Legends and Axes for 'ggplot2'

A ggplot2 extension quietly turning axes and legends into a place where other plots can live.

ggplot2data-visualizationaxes-and-legendsr-packagegraphics-extension
Current state
legendry extends ggplot2's guide system, letting axes and legends be composed from primitives and keys rather than accepted as given. The most recent release added guides for user-defined keys, upset matrices, arbitrary symbol placement, freeform annotations, and side-plots attached to an axis, plus a run-length-encoded range key and subtitles on custom axes. Between feature releases the package ships small patches, several of them tracking ggplot2's own changes.
Where it's heading
The direction is toward treating a guide as a rendering slot rather than a label strip. Dendrogram scales arrived in 0.2.0 with a matching axis guide; the newest release adds side-plots and upset symbol matrices to the same position. Each of these puts real graphical content where an axis used to be, and each one ships with a key function so the composition stays user-controllable. Note that this feed's order is unreliable: 0.2.1 was published eight months after 0.2.4 and minutes before 0.3.0, so neither version numbers nor timestamps indicate release order here.
Prediction
The pattern of pairing each new guide with a matching key function is consistent enough that the next feature release will likely follow it again; the recurring forwards-compatibility patches also suggest another ggplot2-tracking release whenever upstream moves.

Recent moves

  1. 3mo ago

    Five new guides, including side-plots and upset matrices on axes

    The largest feature drop in the window, adding manual legend keys, axis-mounted side-plots, upset matrix symbols, freeform symbol placement, and annotation guides, each with a matching key function. It extends the guide catalogue along the line the package has followed since dendrograms, rather than opening a new one.

    View source ↗
  2. 3mo ago

    Patch release: guide placement, sizing and gizmo key fixes

    Bug fixes across circles, inside placement, key sizing, and the density and histogram gizmos, with keys now chosen by scale type. Published eight months after 0.2.4 and five minutes before 0.3.0, so its position in this feed reflects backfilling rather than release order.

    View source ↗
  3. 11mo ago

    CRAN fix for undeclared S7 imports

    Two fixes: an undeclared S7 import flagged by CRAN, and dendrogram scales failing to find their guide when the package is not attached. Maintenance around the dendrogram feature added in 0.2.0.

    View source ↗
  4. 11mo ago

    Colourbar sizing fix; sandwich guides gain label suppression

    A two-item patch honouring legend key width and height settings in colourbars, plus a suppress_labels control on sandwich compositions. Small polish on the composition primitives.

    View source ↗
  5. 1y ago

    Forwards-compatibility patch for an upcoming ggplot2 release

    The notes state plainly that there are no features, improvements, or bug fixes here — the release exists only to stay compatible with a planned ggplot2 version. The tax of building on someone else's guide system.

    View source ↗
  6. 1y ago

    Dendrogram scales and axis guide, plus a circle size guide

    Dendrogram support arrives as a full set — scale functions, an axis guide, a segments primitive, and three key functions — which established the pattern of shipping each new guide with the keys needed to control it. The standalone circles guide covers size legends that a colourbar cannot express.

    View source ↗