From 7c39c3cb4f638e884c905d441097788129d0e1be Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 31 Oct 2025 11:18:58 +0100 Subject: [PATCH] chore: remove city ids from chart --- codes/tsp_hw01/src/tsp.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/codes/tsp_hw01/src/tsp.rs b/codes/tsp_hw01/src/tsp.rs index 35c2ad5cfcea3ecbabff1ad07446129cc97351e9..9d826e4e34d43217beaaabad351c07f1cf5cf66d 100644 --- a/codes/tsp_hw01/src/tsp.rs +++ b/codes/tsp_hw01/src/tsp.rs @@ -179,12 +179,6 @@ where }) )?; - chart.draw_series( - self.cities.iter().enumerate().map(|(i, city)| { - Text::new(format!("{}", i), (city.point.x + 0.1, city.point.y + 0.1), ("sans-serif", 15)) - }) - )?; - root.present()?; Ok(()) }