projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make this thing actually work.
[python_utils.git]
/
histogram.py
diff --git
a/histogram.py
b/histogram.py
index d45e93f328185f869c2b3af4cc832db280d14428..ba10a015d951309d4a8411f081b5789c0585f253 100644
(file)
--- a/
histogram.py
+++ b/
histogram.py
@@
-100,9
+100,9
@@
class SimpleHistogram(Generic[T]):
max_label_width = label_width
if start == last_bucket_start:
break
max_label_width = label_width
if start == last_bucket_start:
break
- assert max_label_width
- assert lowest_start
- assert highest_end
+ assert max_label_width
is not None
+ assert lowest_start
is not None
+ assert highest_end
is not None
sigma_label = f'[{label_formatter}..{label_formatter}): ' % (
lowest_start,
sigma_label = f'[{label_formatter}..{label_formatter}): ' % (
lowest_start,