summaryrefslogtreecommitdiff
path: root/histogram.py
diff options
context:
space:
mode:
Diffstat (limited to 'histogram.py')
-rw-r--r--histogram.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/histogram.py b/histogram.py
index 4aa4749..a899fe9 100644
--- a/histogram.py
+++ b/histogram.py
@@ -94,11 +94,7 @@ class SimpleHistogram(Generic[T]):
right_end="",
)
label = f'{label_formatter}..{label_formatter}' % (start, end)
- txt += (
- f'{label:20}: '
- + bar
- + f"({pop/self.count*100.0:5.2f}% n={pop})\n"
- )
+ txt += f'{label:20}: ' + bar + f"({pop/self.count*100.0:5.2f}% n={pop})\n"
if start == last_bucket_start:
break
return txt