strava chart
This commit is contained in:
@@ -4448,12 +4448,12 @@ def interactive_flexchart_stacked(id,r,xparam='time',
|
||||
|
||||
row = Workout.objects.get(id=id)
|
||||
if rowdata.empty:
|
||||
return "","No valid data",'',''
|
||||
return "","No valid data",'','',comment
|
||||
|
||||
try:
|
||||
tseconds = rowdata.loc[:,'time']
|
||||
except KeyError:
|
||||
return '','No time data - cannot make flex plot','',''
|
||||
return '','No time data - cannot make flex plot','','',comment
|
||||
|
||||
try:
|
||||
rowdata['x1'] = rowdata.loc[:,xparam]
|
||||
|
||||
Reference in New Issue
Block a user