timing
This commit is contained in:
parent
37c4a373b7
commit
89f3cbb5d1
@ -57,7 +57,7 @@ def index():
|
||||
duration1 = step1_time - start_time
|
||||
fig_1 = px.bar(df, x='month', y='value', color='year', barmode='group')
|
||||
step2_time = time.time()
|
||||
duration2 = step2_time - start_time
|
||||
duration2 = step2_time - step1_time
|
||||
fig_1.update_layout(
|
||||
title=f"Jahreswerte Exportierte Energie {duration1:.3f}, {duration2:.3f}",
|
||||
xaxis_title="",
|
||||
@ -78,7 +78,7 @@ def index():
|
||||
duration1 = step1_time - start_time
|
||||
fig_2 = px.line(df, x='bucket', y='avg_power')
|
||||
step2_time = time.time()
|
||||
duration2 = step2_time - start_time
|
||||
duration2 = step2_time - step1_time
|
||||
fig_2.update_layout(
|
||||
xaxis_title="",
|
||||
yaxis_title="",
|
||||
@ -93,7 +93,7 @@ def index():
|
||||
duration1 = step1_time - start_time
|
||||
fig_3 = px.line(df, x='bucket', y='avg_power')
|
||||
step2_time = time.time()
|
||||
duration2 = step2_time - start_time
|
||||
duration2 = step2_time - step1_time
|
||||
fig_3.update_layout(
|
||||
xaxis_title="",
|
||||
yaxis_title="",
|
||||
|
Loading…
x
Reference in New Issue
Block a user