fixed error distance jump
This commit is contained in:
@@ -15,6 +15,7 @@ from rowingdata import cumcpdata,histodata
|
||||
from rowingdata import rowingdata as rrdata
|
||||
from math import pi
|
||||
from django.utils import timezone
|
||||
from rowingdata import make_cumvalues
|
||||
|
||||
from bokeh.palettes import Dark2_8 as palette
|
||||
from bokeh.models.glyphs import MultiLine
|
||||
@@ -4780,6 +4781,10 @@ def interactive_multiple_compare_chart(ids,xparam,yparam,plottype='line',
|
||||
|
||||
|
||||
group.sort_values(by='time',ascending=True,inplace=True)
|
||||
print(xparam)
|
||||
if xparam == 'cumdist':
|
||||
res = make_cumvalues(group[xparam])
|
||||
group[xparam] = res[0]
|
||||
try:
|
||||
group['x'] = group[xparam]
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user