bug fix
This commit is contained in:
@@ -2785,7 +2785,10 @@ def interactive_cum_flex_chart2(theworkouts,promember=0,
|
|||||||
title="Max Work per Stroke",callback=callback)
|
title="Max Work per Stroke",callback=callback)
|
||||||
callback.args["maxwork"] = slider_work_max
|
callback.args["maxwork"] = slider_work_max
|
||||||
|
|
||||||
distmax = 100+100*int(datadf['distance'].max()/100.)
|
try:
|
||||||
|
distmax = 100+100*int(datadf['distance'].max()/100.)
|
||||||
|
except KeyError:
|
||||||
|
distmax = 1000.
|
||||||
|
|
||||||
slider_dist_min = Slider(start=0,end=distmax,value=0,step=1,
|
slider_dist_min = Slider(start=0,end=distmax,value=0,step=1,
|
||||||
title="Min Distance",callback=callback)
|
title="Min Distance",callback=callback)
|
||||||
|
|||||||
Reference in New Issue
Block a user