Sayani07 / gghdr

Plots of highest density regions (HDR) for ggplot2
https://sayani07.github.io/gghdr/
GNU General Public License v3.0
47 stars 5 forks source link

Fill colour breaks when too many colours are requested #17

Closed mitchelloharawild closed 4 years ago

mitchelloharawild commented 4 years ago
library(gghdr)
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 3.6.3
ggplot(faithful, aes(y = eruptions)) + 
  geom_hdr_boxplot(prob = seq(.5, 0.99, by = 0.01), fill = "blue") + 
  theme_minimal()

Created on 2020-04-16 by the reprex package (v0.3.0)

thomas-fung commented 4 years ago
library(gghdr)
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 3.6.3
ggplot(faithful, aes(y = eruptions)) + 
    geom_hdr_boxplot(prob = seq(.5, 0.99, by = 0.01), fill = "blue")+theme_minimal()

Created on 2020-04-17 by the reprex package (v0.3.0)

mitchelloharawild commented 4 years ago

Looks good!