Plot-Headline update for clarity
This commit is contained in:
2
app.py
2
app.py
@@ -314,7 +314,7 @@ def create_speed_plot(df):
|
|||||||
line=dict(color='royalblue')
|
line=dict(color='royalblue')
|
||||||
))
|
))
|
||||||
fig.update_layout(
|
fig.update_layout(
|
||||||
title=dict(text=f'Geschwindigkeit über die Zeit (geglättet) (∅: {mean_speed_kmh:.2f} km/h)', font=dict(size=16)),
|
title=dict(text=f'Durchschnittsgeschwindigkeit über die Zeit (geglättet): {mean_speed_kmh:.2f} km/h', font=dict(size=16)),
|
||||||
xaxis=dict(title='Zeit', tickformat='%H:%M', type='date'),
|
xaxis=dict(title='Zeit', tickformat='%H:%M', type='date'),
|
||||||
yaxis=dict(title='Geschwindigkeit (km/h)', rangemode='tozero'),
|
yaxis=dict(title='Geschwindigkeit (km/h)', rangemode='tozero'),
|
||||||
template='plotly_dark',
|
template='plotly_dark',
|
||||||
|
|||||||
Reference in New Issue
Block a user