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

legend colours do not match fill colours #24

Open AndrewLJackson opened 1 year ago

AndrewLJackson commented 1 year ago

The color legend for the probability ranges should match the specified fill colour (blue in the example below) but always appear to be grey. The boxes appear to be coloured darker by using stacked transparent layers. Perhaps it would be better to render them as solid colours along a gradient?

`ggplot(faithful, aes(y = eruptions, x= waiting)) +