Private
Public Access
1
0

small bug fixes

This commit is contained in:
Sander Roosendaal
2019-04-11 13:15:12 -04:00
parent f267cb4805
commit c0e5b0a522
3 changed files with 19 additions and 6 deletions

View File

@@ -4360,8 +4360,11 @@ def interactive_multiple_compare_chart(ids,xparam,yparam,plottype='line',
try:
tseconds = datadf.loc[:,'time']
except KeyError:
tseconds = datadf.loc[:,xparam]
try:
tseconds = datadf.loc[:,xparam]
except:
return ['','<p>A chart data error occurred</p>','','A chart data error occurred']
yparamname = axlabels[yparam]
#datadf = datadf[datadf[yparam] > 0]