Commit c35e3ab7 authored by Mikaël Salson's avatar Mikaël Salson

stats_decorator.py: Typo

parent eaeea54e
Pipeline #42596 failed with stages
in 2 seconds
......@@ -50,7 +50,7 @@ class LabeledBarChartDecorator(BarChartDecorator):
for t in data:
percentage_per_item = (1.0/len(data))*100
# We want larger bars to better see them. However we may not want that with wide labeled bar charts
style = "height: %f%%; width: %f%%; margin-right: -%f%" % (t[1], percentage_per_item * 2, percentage_per_item)
style = "height: %f%%; width: %f%%; margin-right: -%f%%" % (t[1], percentage_per_item * 2, percentage_per_item)
if t[1]:
style += ";min-height: 1px"
bar_span = SPAN(_style=style, _title="%s" % t[0], _class="bar")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment