Fix compatibility with purrr 1.0.0 and ggplot2 3.4.0.
The new option line_label_type
provides different labeling methods using the geomtextpath package and the second axis. Please refer to the “line_label_type
” section of the vignette “Introduction to gghighlight” for the details (#185).
dplyr::across()
in dplyr::filter()
(#177).gghighlight()
now accepts n()
so that you can highlight based on the number of rows within each group (#154).gghighlight()
now preserves colour
or fill
when explicit NULL
is specified on unhighlighted_params
(i.e. unhighlighted_params = list(colour = NULL)
) (#152).x
(#168).gghighlight()
now can add labels on discrete scales (#160).gghighlight_point()
and gghighlight_line()
, deprecated in gghighlight 0.1.0, are now defunct (#132).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 calculate_per_facet
to choose whether to calculate highlighting per facet or not (#14).
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 NA
s in numeric predicates (#86).
gghighlight()
, which replaces the current gghighlight_line()
and gghighlight_point()
; these functions are now deprecated.