Sayani07/gghdr

Fill colour breaks when too many colours are requested

Closed this issue · 2 comments

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)

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)

Looks good!