mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-06-29 01:16:52 +00:00
bugfix visualize module
datetime.datetime.now() is incorrectly accessing the datetime class
This commit is contained in:
parent
411a843faf
commit
f10b64e7c6
@ -110,7 +110,7 @@ def visualisiere_ergebnisse(
|
|||||||
|
|
||||||
plt.figure(figsize=(14, 10))
|
plt.figure(figsize=(14, 10))
|
||||||
|
|
||||||
if ist_dst_wechsel(datetime.datetime.now()):
|
if ist_dst_wechsel(datetime.now()):
|
||||||
hours = np.arange(start_hour, prediction_hours - 1)
|
hours = np.arange(start_hour, prediction_hours - 1)
|
||||||
else:
|
else:
|
||||||
hours = np.arange(start_hour, prediction_hours)
|
hours = np.arange(start_hour, prediction_hours)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user