fixing reststrokes on compare plot
This commit is contained in:
@@ -5370,20 +5370,25 @@ def interactive_bar_chart(id=0,promember=0):
|
||||
return [script,div]
|
||||
|
||||
def interactive_multiple_compare_chart(ids,xparam,yparam,plottype='line',
|
||||
promember=0,
|
||||
promember=0,workstrokesonly=True,
|
||||
labeldict=None,startenddict={}):
|
||||
|
||||
message = ''
|
||||
errormessage = ''
|
||||
|
||||
|
||||
columns = [xparam,yparam,
|
||||
'ftime','distance','fpace',
|
||||
'power','hr','spm',
|
||||
'time','pace','workoutstate',
|
||||
'workoutid']
|
||||
|
||||
datadf = dataprep.getsmallrowdata_db(columns,ids=ids,doclean=False,compute=False)
|
||||
compute = False
|
||||
doclean = False
|
||||
if workstrokesonly:
|
||||
compute = True
|
||||
doclean = True
|
||||
datadf = dataprep.getsmallrowdata_db(columns,ids=ids,doclean=doclean,compute=compute,
|
||||
workstrokesonly=workstrokesonly)
|
||||
datadf.dropna(axis=1,how='all',inplace=True)
|
||||
datadf.dropna(axis=0,how='any',inplace=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user