Private
Public Access
1
0
This commit is contained in:
2024-04-13 11:05:23 +02:00
parent a0cecf23ba
commit e1b28bd770
2 changed files with 4 additions and 2 deletions

View File

@@ -2691,6 +2691,8 @@ def interactive_flex_chart2(id, r, promember=0,
except TypeError: # pragma: no cover
rowdata['ytrend'] = y1
rowdata.replace([np.inf, -np.inf], np.nan, inplace=True)
rowdata.dropna(axis=1, how='all', inplace=True)
data_dict = rowdata.to_dict("records")
metrics_list = [{'name': name, 'rowingmetrics':d } for name, d in metrics.rowingmetrics]
@@ -2705,8 +2707,8 @@ def interactive_flex_chart2(id, r, promember=0,
'trendline': trendline,
'plottype': plottype,
}
script, div = get_chart("/flex", chart_data)
script, div = get_chart("/flex", chart_data, debug=False)
return script, div, workstrokesonly

Binary file not shown.