Private
Public Access
1
0
This commit is contained in:
2024-03-17 12:26:50 +01:00
parent bdaf5fada8
commit 1c4f6cc7ee
3 changed files with 14 additions and 12 deletions

View File

@@ -3987,10 +3987,10 @@ def interactive_cum_flex_chart2(theworkouts, promember=0,
datadf = pd.DataFrame()
if promember:
datadf = dataprep.getsmallrowdata_db(columns, ids=ids, doclean=True,
workstrokesonly=workstrokesonly)
workstrokesonly=workstrokesonly, for_chart=True)
else:
datadf = dataprep.getsmallrowdata_db(columns, ids=ids, doclean=True,
workstrokesonly=workstrokesonly)
datadf = dataprep.getsmallrowdata_db(columns_basic, ids=ids, doclean=True,
workstrokesonly=workstrokesonly, for_chart=True)
try:
_ = datadf[yparam2]
@@ -5296,11 +5296,11 @@ def interactive_multiple_compare_chart(ids, xparam, yparam, plottype='line',
if promember:
datadf = dataprep.getsmallrowdata_db(columns, ids=ids, doclean=doclean,
compute=compute,
workstrokesonly=workstrokesonly)
workstrokesonly=workstrokesonly, for_chart=True)
else:
datadf = dataprep.getsmallrowdata_db(columns, ids=ids, doclean=doclean,
datadf = dataprep.getsmallrowdata_db(columns_basic, ids=ids, doclean=doclean,
compute=compute,
workstrokesonly=workstrokesonly)
workstrokesonly=workstrokesonly, for_chart=True)
datadf['workoutid'] = datadf['workoutid'].astype(int)
datadf.dropna(axis=1, how='all', inplace=True)