scale_colour_tailwind2: Use tailwind palettes to colour ggplot2 plots

Description Usage Arguments

View source: R/scale_colour_tailwind2.R

Description

Use tailwind palettes to colour ggplot2 plots

Usage

1
scale_colour_tailwind2(palette, discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Palette function, use tailwind_pal_scale

discrete

Boolean, is the colour variable categorical/discrete

reverse

Boolean, whether you want to flip palette order

...

Additional options to pass to discrete_scale or scale_color_gradientn


willcanniford/ggtailwind documentation built on Jan. 30, 2021, 9:30 a.m.