Private
Public Access
1
0

some more improvements

This commit is contained in:
Sander Roosendaal
2016-11-24 00:03:33 +01:00
parent bf32c1cc21
commit b8643ca897
3 changed files with 30 additions and 16 deletions

View File

@@ -72,7 +72,7 @@ def interactive_histoall(theworkouts):
ids = [w.id for w in theworkouts]
rowdata = dataprep.getsmallrowdata_db('power','power','power',ids=ids)
rowdata = dataprep.getsmallrowdata_db(['power'],ids=ids)
histopwr = rowdata['power'].values
if len(histopwr) == 0:
@@ -569,7 +569,7 @@ def interactive_cum_flex_chart2(theworkouts,promember=0,
# datadf = dataprep.smalldataprep(theworkouts,xparam,yparam1,yparam2)
ids = [w.id for w in theworkouts]
datadf = dataprep.getsmallrowdata_db(xparam,yparam1,yparam2,ids=ids)
datadf = dataprep.getsmallrowdata_db([xparam,yparam1,yparam2],ids=ids)
axlabels = {
'time': 'Time',