Private
Public Access
1
0

bug fix (dataframe index same as x axis name in multi flex)

This commit is contained in:
Sander Roosendaal
2018-11-20 20:51:33 +01:00
parent 3a16d9b786
commit a02ef7233e
2 changed files with 16 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ def errorbar(fig, x, y, source=ColumnDataSource(),
xvalues = source.data[x]
yvalues = source.data[y]
xerrvalues = source.data['xerror']
yerrvalues = source.data['yerror']
try:
@@ -2362,10 +2363,13 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
if yparam == 'pace':
y_axis_type = 'datetime'
datadf.index.names = ['index']
source = ColumnDataSource(
datadf,
)
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,resize'
if groupby != 'date':