added agegrouprecorords - line 135 in urls.py
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user