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

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