ggplot2::ggplot(ggplot2::mpg, ggplot2::aes(class, fill = class)) +
ggplot2::geom_bar() +
scale_fill_okcolors("skyscrapers")
ggplot2::ggplot(ggplot2::mpg, ggplot2::aes(displ, hwy, fill = hwy)) +
ggplot2::geom_tile() +
scale_fill_okcolors("obsession", discrete = FALSE)
Run the code above in your browser using DataLab