From e1be6ba8a91684290853ab0b02d70157844393e6 Mon Sep 17 00:00:00 2001
From: Lennard Geese <lennard.geese@sva.de>
Date: Fri, 11 Apr 2025 11:15:09 +0200
Subject: [PATCH] Fix comment

---
 DataPlotter.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DataPlotter.py b/DataPlotter.py
index ab0be5b..42efb5a 100644
--- a/DataPlotter.py
+++ b/DataPlotter.py
@@ -9,8 +9,8 @@ from matplotlib.colors import ListedColormap
 
 from DataHandler import DataHandler, WeatherChangeWindow
 
-# TODO: Adjust input parameters for multiple weather change windows
 class DataPlotter(DataHandler):
+
     def plotOvertakes(self, overtakesPerLap: list[int], raceName: str, weatherChangeWindows: list[WeatherChangeWindow] = None):
 
         # Define variables
@@ -24,7 +24,7 @@ class DataPlotter(DataHandler):
         x_values = np.arange(1, laps + 1)
         plt.plot(x_values, overtakesPerLap)
 
-        # Paint background between first and last tire change
+        # Paint background for weather change windows
         for weatherChangeWindow in weatherChangeWindows:
             axis.axvspan(weatherChangeWindow.firstLap, weatherChangeWindow.lastLap, color='blue', alpha=0.3)
 
-- 
GitLab