pub fn thin(
transform: &Transform,
data: &[[f64; 2]],
spacing: f32,
) -> Vec<usize>Expand description
Every point at least spacing points (on screen) from the last one kept, plus the
last point. Non-finite points are kept, so they still break the line.