bug fix (dataframe index same as x axis name in multi flex)
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user