feat: added option to choose color palettes for all available plots. this includes a custom function to generate colors from several palettes as well as a select function to include color previews.

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-03-24 12:04:54 +01:00
commit 6c850847b7
No known key found for this signature in database
21 changed files with 1110 additions and 251 deletions

View file

@ -13,7 +13,9 @@ vertical_stacked_bars(
l.color = "black",
l.size = 0.5,
draw.lines = TRUE,
label.str = "{n}\\n{round(100 * p,0)}\%"
label.str = "{n}\\n{round(100 * p,0)}\%",
color.palette = "viridis",
reverse = TRUE
)
}
\arguments{