Merge tag 'v5.36' into develop
added title to World Record Charts
This commit is contained in:
@@ -1327,6 +1327,11 @@ def interactive_agegroup_plot(df,distance=2000,duration=None,
|
||||
name = df['name']
|
||||
season = df['season']
|
||||
|
||||
if duration:
|
||||
plottitle = sex+' '+weightcategory+' '+duration+' min'
|
||||
else:
|
||||
plottitle = sex+' '+weightcategory+' '+distance+'m'
|
||||
|
||||
# poly_coefficients = np.polyfit(age,power,6)
|
||||
|
||||
age2 = np.linspace(11,95)
|
||||
@@ -1365,7 +1370,8 @@ def interactive_agegroup_plot(df,distance=2000,duration=None,
|
||||
plot.line(age2,expo_vals)
|
||||
plot.xaxis.axis_label = "Age"
|
||||
plot.yaxis.axis_label = "Concept2 power"
|
||||
|
||||
plot.title.text = plottitle
|
||||
|
||||
hover = plot.select(dict(type=HoverTool))
|
||||
|
||||
hover.tooltips = OrderedDict([
|
||||
|
||||
Reference in New Issue
Block a user