Function colorbrewer::get_color_ramp [] [src]

pub fn get_color_ramp(name: Palette, nb_value: u32) -> Option<Vec<&'static str>>

Function to get the requested color ramp according to a given name and number of colors. Return None if there is no color ramp defined for this value of nb_value.