]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/seepark_web.py
Fix typo.
[chrisu/seepark.git] / web / seepark_web.py
index 57509e4f9455c25afb503df66c23cb540e0476b1..a155ffc9e4c59dbf613e1b1186644fa6d0fc7d56 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)