pub fn label_number(
accuracy: Option<f64>,
prefix: &str,
suffix: &str,
scale: f64,
) -> impl Fn(f64) -> String + Send + SyncExpand description
General configurable number formatter (R’s scales::label_number).
Multiplies by scale, rounds to accuracy (None = trim), and wraps in
prefix/suffix.