Private
Public Access
1
0

Merge tag 'v1.54' into develop

bug fix strava access denied response
This commit is contained in:
Sander Roosendaal
2017-03-09 15:33:50 +01:00
4 changed files with 29 additions and 7 deletions

View File

@@ -1665,8 +1665,15 @@ def interactive_multiple_compare_chart(ids,xparam,yparam,plottype='line',
xaxmax = datadf['distance'].max()
xaxmin = datadf['distance'].min()
yaxmin = yaxminima[yparam]
yaxmax = yaxmaxima[yparam]
if yparam == 'distance':
yaxmin = datadf['distance'].min()
yaxmax = datadf['distance'].max()
elif yparam == 'cumdist':
yaxmin = datadf['cumdist'].min()
yaxmax = datadf['cumdist'].max()
else:
yaxmin = yaxminima[yparam]
yaxmax = yaxmaxima[yparam]
x_axis_type = 'linear'
y_axis_type = 'linear'