-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
scales 🐍visual change 👩🎨Rendering change that will affect look of outputRendering change that will affect look of output
Description
When using scale_(fill/colour)_viridis_b, the colors don't go all the way to the end of the palette, i.e. very-yellow yellow).
Is it intended to do that? How to change this behavior if it is?
library(ggplot2)
ggplot(data = ggplot2::diamonds) +
geom_bar(aes(x = cut, fill = depth, group = depth)) +
scale_fill_viridis_b(n.breaks = 4)
scales::show_col(
viridis::viridis_pal()(4)
)
mattbk
Metadata
Metadata
Assignees
Labels
scales 🐍visual change 👩🎨Rendering change that will affect look of outputRendering change that will affect look of output