Sayani07/gghdr

Adding mode to geom_hdr_rug

Sayani07 opened this issue · 4 comments

Adding mode to geom_hdr_rug

Added as lines for consistency with geom_hdr_boxplot. I'm not convinced that a line is the right choice for the rug that sits up against the axes however. Maybe we should consider using a point for this instead?

ggplot(faithful, aes(y = eruptions, x = waiting)) + 
    geom_hdr_rug(sides = "trbl") + 
    geom_point() + 
    theme_bw()

rug

I like the lines.

+1 to lines

LGTM, closing as it has been added 🎉