some warnings
This commit is contained in:
@@ -836,7 +836,7 @@ def interactive_activitychart2(workouts,startdate,enddate,stack='type',toolbar_l
|
||||
|
||||
|
||||
|
||||
callback = CustomJS(args={'links':df.link}, code="""
|
||||
callback = CustomJS(args={'links':df['link']}, code="""
|
||||
var index = cb_data.source.selected['1d'].indices[0];
|
||||
console.log(links);
|
||||
console.log(index);
|
||||
@@ -3387,8 +3387,8 @@ def interactive_otwcpchart(powerdf,promember=0,rowername="",r=None,cpfit='data',
|
||||
urls = powerdf['url']
|
||||
|
||||
# add world class
|
||||
wcpower = pd.Series(wcpower)
|
||||
wcdurations = pd.Series(wcdurations)
|
||||
wcpower = pd.Series(wcpower,dtype='float')
|
||||
wcdurations = pd.Series(wcdurations,dtype='float')
|
||||
|
||||
|
||||
# fitting WC data to three parameter CP model
|
||||
@@ -3683,8 +3683,8 @@ def interactive_cpchart(rower,thedistances,thesecs,theavpower,
|
||||
errfunc = lambda pars,x,y: fitfunc(pars,x)-y
|
||||
|
||||
# p0 = [500,350,10,8000]
|
||||
wcpower = pd.Series(wcpower)
|
||||
wcdurations = pd.Series(wcdurations)
|
||||
wcpower = pd.Series(wcpower,dtype='float')
|
||||
wcdurations = pd.Series(wcdurations,dtype='float')
|
||||
|
||||
# fitting WC data to three parameter CP model
|
||||
if len(wcdurations)>=4:
|
||||
|
||||
Reference in New Issue
Block a user