Changelog
Source:NEWS.md
ggridges 0.5.7
- Various fixes for latest versions of R and ggplot2.
- Add support for weighted density estimates in
stat_density_ridges()
by allowing the use of theweight
aesthetic (@joranE, #90) - Add support for
grid::pattern()
,grid::linearGradient()
, andgrid::radialGradient()
values forfill
andpoint_fill
aesthetics by usingggplot2::fill_alpha()
(@trevorld, #94)
ggridges 0.5.5
CRAN release: 2023-12-15
- Replace
ggplot2::expand_scale()
withggplot2::expansion()
in vignettes to avoid deprecation warnings in ggplot2 0.3.3 (@jthomasmock, #78) - Replace
size
argument in line functions withlinewidth
to avoid deprecation warnings in ggplot2 0.3.4 (@jthomasmock, #78) - Replace use of
..density..
withggplot2::after_stat(density)
to avoid deprecation warnings in ggplot2 0.3.4 (@jthomasmock, #78)
ggridges 0.5.2
CRAN release: 2020-01-12
- There is now a project website at https://wilkelab.org/ggridges.
- A new example dataset has been added,
Aus_athletes
. -
scale_discrete_manual()
has been removed from the ggridges package, as it has been available in ggplot2 since version 3.0.0. -
stat_density_ridges()
now has a parametern
that determines at how many points along the x axis the density is estimated.
ggridges 0.5.1
CRAN release: 2018-09-27
- The
alpha
aesthetic is now by default applied to jittered points. If you don’t want this to happen, setpoint_alpha = 1
. - Allow custom function to calculate the position of quantile lines. This makes it possible, for example, to place a line at the mean, via
quantile_fun = mean
. - Allow coloring of quantile lines and jittered points by quantile.
ggridges 0.5.0
CRAN release: 2018-04-05
- Expanded documentation and gallery of example plots.
- Reworked stat_density_ridges, geom_ridgeline, geom_density_ridges, etc. so that jittered points and quantile lines can be drawn on top of the distributions. Points and quantile lines can be styled separately from the rest of the ridgeline plot, via special aesthetics.
- Added position options to control how the jittered points are drawn. Default is uniformly spaced within the density area.
- Added
geom_density_line()
which is a drop-in replacement forgeom_density()
but draws a ridgeline rather than a closed polygon. -
theme_ridges()
has been modified so that font sizes match the cowplot themes. In particular, this means smaller axis tick labels.