Private
Public Access
1
0

added agegrouprecorords - line 135 in urls.py

This commit is contained in:
Sander Roosendaal
2018-09-28 12:43:34 +02:00
parent da44ededed
commit ad4d7466b0
4 changed files with 41 additions and 44 deletions

View File

@@ -1483,7 +1483,10 @@ def interactive_agegroupcpchart(age,normalized=False):
x_axis_type = 'log'
y_axis_type = 'linear'
plot = Figure(plot_width=900,x_axis_type=x_axis_type)
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,hover,resize,crosshair'
plot = Figure(plot_width=900,x_axis_type=x_axis_type,
tools=TOOLS)
plot.sizing_mode = 'scale_width'
plot.line('duration','fitpowerfh',source=source,
@@ -1665,6 +1668,7 @@ def interactive_agegroup_plot(df,distance=2000,duration=None,
TOOLS = 'save,pan,box_zoom,wheel_zoom,reset,tap,hover,resize,crosshair'
plot = Figure(tools=TOOLS,plot_width=900)
plot.sizing_mode='scale_width'
plot.circle('age','power',source=source,fill_color='red',size=15,
legend='World Record')