further fixes
This commit is contained in:
@@ -3097,7 +3097,9 @@ def interactive_multiflex(datadf,xparam,yparam,groupby,extratitle='',
|
|||||||
gr = groupname,
|
gr = groupname,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if xparam == 'cumdist':
|
||||||
|
res = make_cumvalues(datadf[xparam])
|
||||||
|
datadf[xparam] = res[0]
|
||||||
if xparam=='distance':
|
if xparam=='distance':
|
||||||
xaxmax = datadf[xparam].max()
|
xaxmax = datadf[xparam].max()
|
||||||
xaxmin = datadf[xparam].min()
|
xaxmin = datadf[xparam].min()
|
||||||
@@ -4781,7 +4783,7 @@ def interactive_multiple_compare_chart(ids,xparam,yparam,plottype='line',
|
|||||||
|
|
||||||
|
|
||||||
group.sort_values(by='time',ascending=True,inplace=True)
|
group.sort_values(by='time',ascending=True,inplace=True)
|
||||||
print(xparam)
|
|
||||||
if xparam == 'cumdist':
|
if xparam == 'cumdist':
|
||||||
res = make_cumvalues(group[xparam])
|
res = make_cumvalues(group[xparam])
|
||||||
group[xparam] = res[0]
|
group[xparam] = res[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user