adding metric
This commit is contained in:
@@ -2107,7 +2107,9 @@ def interactive_histoall(theworkouts, histoparam, includereststrokes,
|
|||||||
histopwr = histopwr[histopwr > yaxminima[histoparam]]
|
histopwr = histopwr[histopwr > yaxminima[histoparam]]
|
||||||
histopwr = histopwr[histopwr < yaxmaxima[histoparam]]
|
histopwr = histopwr[histopwr < yaxmaxima[histoparam]]
|
||||||
|
|
||||||
data_dict = {"data": histopwr.tolist()}
|
data_dict = {"data": histopwr.tolist(),
|
||||||
|
"metric": metricsdicts[histoparam]["verbose_name"]}
|
||||||
|
print(data_dict)
|
||||||
script, div = get_chart("/histogram", data_dict, debug=False)
|
script, div = get_chart("/histogram", data_dict, debug=False)
|
||||||
|
|
||||||
return script, div
|
return script, div
|
||||||
|
|||||||
Reference in New Issue
Block a user