gghighlight Unreleased

New features

  • gghighlight() gets a new argument unhighlighted_params, which accepts a list of parameters for the unhighlighted layer (e.g. colour, fill, shape, and size). Accordingly, unhighlighted_colour is deprecated (#76).

  • gghighlight() gets a new argument keep_scales to choose whether to keep the original scale with the shadowed data (#72).

  • gghighlight() gets a new (experimental) argument use_facet_vars to choose whether to calculate highlighting per facet or not (#14).

Bug fixes

  • If the mapping has group, use it as grouping variable, which is consistent with the logic of ggplot2 (#77).

  • gghighlight() now ignores if the calculation fails over some layers. This is useful to combine with such layers as annotate() (#78).

  • gghighlight() now allows to highlight 0-layer plots, which means just filtering the plot data (#81).

  • gghighlight() now ignores NAs in numeric predicates (#86).

gghighlight 0.1.0 2018-07-04

gghighlight 0.0.1 2017-10-05

  • First release