Plot-Headline update for clarity

This commit is contained in:
2025-08-11 14:10:24 +02:00
parent 4d3afc1a67
commit a869b565e4

2
app.py
View File

@@ -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',