Function cpo_analyzer::color_gradients::set_color_gradient [−][src]
pub fn set_color_gradient(
color_gradient_selection: &ColorGradient
) -> Gradient<LinSrgb>
This function sets the color gradient based on the a provided string. Available options are Vik
,
Batlow
, Simple
, Imola
, Hawaii
and Roma
, which are all, except for Simple
, from
http://www.fabiocrameri.ch/colourmaps.php.