Print newline before chart

This commit is contained in:
Joscha 2023-01-23 13:26:54 +01:00
parent 11c97ab4a2
commit 38dcf8932e

View file

@ -60,6 +60,7 @@ fn main() -> anyhow::Result<()> {
.map(|(i, l)| (i as f32, l as f32)) .map(|(i, l)| (i as f32, l as f32))
.collect::<Vec<_>>(); .collect::<Vec<_>>();
println!();
let mut chart = Chart::new_with_y_range(width, height, 0_f32, xmax as f32, 0_f32, ymax as f32); let mut chart = Chart::new_with_y_range(width, height, 0_f32, xmax as f32, 0_f32, ymax as f32);
chart.lineplot(&Shape::Lines(&lines)).nice(); chart.lineplot(&Shape::Lines(&lines)).nice();