scale_all_dft: Extract named palette colours as hex codes

View source: R/scaleXDft.R

scale_all_dftR Documentation

Extract named palette colours as hex codes

Description

Internal function to select which palette to use in scale_fill_dft and scale_colour_dft and output warnings/errors as appropriate

Usage

scale_all_dft(palette, gradient, ...)

Arguments

palette

Named DfT palette to use in the fill.

gradient

Boolean response whether to use gradient palette instead of standard palettes.

...

Other arguments to pass to extract gradients function


department-for-transport/dftplotr documentation built on April 3, 2024, 3:55 p.m.