Private
Public Access
1
0
This commit is contained in:
2024-06-01 14:24:44 +02:00
parent 1869dc5883
commit 258b083efd
3 changed files with 2 additions and 1 deletions

View File

@@ -1311,7 +1311,6 @@ def instroke_interactive_chart(df,metric, workout, spm_min, spm_max,
if df.empty: if df.empty:
return "", "No data in selection" return "", "No data in selection"
df_pos = (df+abs(df))/2. df_pos = (df+abs(df))/2.
df_min = -(-df+abs(-df))/2. df_min = -(-df+abs(-df))/2.

Binary file not shown.

View File

@@ -3088,6 +3088,8 @@ def instroke_chart_interactive(request, id=0, analysis=0, userid=0):
factor=factor, factor=factor,
) )
data = data.fillna(method='ffill').fillna(method='bfill')
if metric == 'boat accelerator curve' and data.median().max() < 0.5: if metric == 'boat accelerator curve' and data.median().max() < 0.5:
data = 9.81*data data = 9.81*data