Skip to contents

Set an ordinal colour palette

Usage

weave_col_palette_o(
  col_palette_o = scales::pal_viridis(option = "G", direction = -1),
  col_palette_o_na = "#988F88FF"
)

Arguments

col_palette_o

For an ordinal scale, a scales::pal_*() function. Use NULL for ggplot2 default.

col_palette_o_na

For an ordinal scale, a hex code.