This is a function to generate a palette function from tailwind_palettes
for us with discrete_scale
and ggplot
functions.
1 | tailwind_pal(palette = "main", reverse = FALSE, ...)
|
palette |
Character name from |
reverse |
Boolean, whether you want to flip palette order |
... |
Additional options to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.