make_grattan_pal_discrete.Rd
This function takes a the grattan graph colour palette and returns a vector of colours equal to n.
It is used in scale_colour_grattan
and scale_fill_grattan
to make the discrete
colour scale as the order of colours is specific in the grattan branding guides and so using an interpolated scale
does not work.
make_grattan_pal_discrete(n)
how many colours to return