cumstats
This commit is contained in:
@@ -839,6 +839,7 @@ def interactive_histoall(theworkouts):
|
||||
plot.xaxis.axis_label = "Power (W)"
|
||||
plot.yaxis.axis_label = "% of strokes"
|
||||
plot.y_range = Range1d(0,1.05*max(hist_norm))
|
||||
|
||||
|
||||
hover = plot.select(dict(type=HoverTool))
|
||||
|
||||
@@ -856,6 +857,7 @@ def interactive_histoall(theworkouts):
|
||||
plot.add_layout(LinearAxis(y_range_name="fraction",
|
||||
axis_label="Cumulative % of strokes"),'right')
|
||||
|
||||
plot.sizing_mode = 'scale_width'
|
||||
script, div = components(plot)
|
||||
return [script,div]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user