Skip to main content

confidence

Function confidence 

Source
pub fn confidence(value: Option<f32>, formatted: &str) -> String
Expand description

Confidence band: maps the recorded numeric value to a semantic color. Render the formatted text yourself (e.g. via format_confidence) and pass it here; this keeps the formatting rule in repo and the styling rule here.