~ruther/ctu-fee-eoa

7c39c3cb4f638e884c905d441097788129d0e1be — Rutherther a month ago 3dccde3
chore: remove city ids from chart
1 files changed, 0 insertions(+), 6 deletions(-)

M codes/tsp_hw01/src/tsp.rs
M codes/tsp_hw01/src/tsp.rs => codes/tsp_hw01/src/tsp.rs +0 -6
@@ 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(())
    }