ggguides
Simplified Legend and Guide Alignment for 'ggplot2'
Three releases in one day to make legend positioning finally do what the docs said.
◆Recent moves
- 3mo ago
legend_style(by=) justification now reaches the whole-plot theme
The third fix of the day, closing the last path where justification was written into a guide's embedded theme that ggplot2 never reads. Users who added a theme() workaround can now remove it.
View source ↗ - 3mo ago
Side legend functions gain justification and target the right theme element
Fixes the four side functions to write to ggplot2's side-specific justification elements instead of the coerced generic fallback, which had been pinning left legends to the bottom. The same release turns the fix into a feature by adding a justification argument to all four.
View source ↗ - 3mo ago
legend_inside() justification now moves the legend as documented
The first of the three same-day fixes, redirecting legend_inside() to legend.justification.inside. It exposed the class of bug that 1.1.8 and 1.1.9 then chased through the rest of the API.
View source ↗ - 8mo ago
Legend reordering, key overrides and colorbar styling added
Adds legend_order(), legend_keys() and colorbar_style() alongside full vignettes. The last release that grew the surface before the April 2026 correction work.
View source ↗