Private
Public Access
1
0

added y axes for distance - multi compare

This commit is contained in:
Sander Roosendaal
2017-03-09 13:58:45 +01:00
parent a98a9b1178
commit b712d54dcb
2 changed files with 9 additions and 3 deletions

View File

@@ -1 +0,0 @@
E408191@CZ27LT9RCGN72.15972:1488820163

View File

@@ -1693,8 +1693,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'