Skip to main content

deviation_color

Function deviation_color 

Source
pub fn deviation_color(value: f64, map: &DeviationMap, scale: f64) -> [f32; 3]
Expand description

Colour of a deviation value: blended toward the class colour by how far it sits beyond the tolerance (saturated at scale beyond it).