Optionally surface exceptions that happen under executors by reading
[python_utils.git] / histogram.py
index 4aa47490122481852ae03e264795509a8794e54e..a899fe9c60cde770eda49dcdd1dade1790e9ec08 100644 (file)
@@ -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