Customise the styles of figures given states (active or selected).

active(...)

selected(...)

Arguments

...

Key value pair passed to styles.

Examples

g2(iris, asp(Sepal.Width, Sepal.Length)) %>%
  fig_point(
    selected(fill = "red")
  ) %>%
  interplay("element", "selected")