gghighlight 0.2.0
New features
-
gghighlight()
gets a new argumentunhighlighted_params
, which accepts a
list of parameters for the unhighlighted layer (e.g.colour
,fill
,shape
,
andsize
). Accordingly,unhighlighted_colour
is deprecated (#76). -
gghighlight()
gets a new argumentkeep_scales
to choose whether to keep the
original scale with the shadowed data (#72). -
gghighlight()
gets a new (experimental) argumentcalculate_per_facet
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 asannotate()
(#78). -
gghighlight()
now allows to highlight 0-layer plots, which means just
filtering the plot data (#81). -
gghighlight()
now ignoresNA
s in numeric predicates (#86).