powered by
#' nord fill scale for ggplot2
scale_fill_nord(palette = "polarnight", discrete = TRUE, alpha = 1, reverse = FALSE, ...)
Choose from 'nord_palettes' list
whether to use a discrete colour palette
pass through parameter to viridis
viridis
If TRUE, the direction of the colours is reversed.
additional arguments to pass to scale_color_gradientn
# NOT RUN { library(ggplot2) library(nord) ggplot(diamonds) + geom_bar(aes(x = cut, fill = clarity)) + scale_fill_nord("victory_bonds") # }
Run the code above in your browser using DataLab