Get a Brewer or Viridis colour scale.
get_colour_scale(
name,
val_type,
aes_type,
limits = NULL,
bins = NULL,
leg_order = 1,
title = ggplot2::waiver(),
na_col = "grey50"
)
ggplot2 scale using Brewer or Viridis.
Scale palette/option name.
Value type ('continuous' or 'discrete').
Aesthetic type ('fill' or 'col').
Limits for scale.
Number of bins if binned scale.
Order of legend.
Legend title.