yutannihilation / gghighlight

Highlight points and lines in ggplot2

Home Page:https://yutannihilation.github.io/gghighlight/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow n()

yutannihilation opened this issue · comments

c.f. https://twitter.com/yutannihilat_en/status/1285901591095042049

ggplot(mpg) +
  aes(x = manufacturer) +
  geom_bar() +
  gghighlight(n() > 20)

Hmm, I forgot to re-export n()...