Fix typo.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 5 Feb 2019 19:07:33 +0000 (20:07 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 5 Feb 2019 19:07:33 +0000 (20:07 +0100)
web/seepark_web.py

index 57509e4..a155ffc 100644 (file)
@@ -334,6 +334,7 @@ def report(year, month):
         # table
         plt.figure(figsize=a4)
         columns = ['Datum']
+        plt.ylabel('Temperatur in °C')
         for t in report_times:
             columns.append('Wassertemperatur {} Uhr'.format(t.hour))
         cells = []
@@ -362,7 +363,6 @@ def report(year, month):
         plt.plot(x, y)
         plt.xticks(days_datetime, days_str, rotation='vertical')
         plt.xlabel('Tag')
-        plt.ylabel('Temparatur in °C')
         plt.axis(xmin=begin, xmax=end)
         plt.grid()
         plt.title(title)