projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Used isort to sort imports. Also added to the git pre-commit hook.
[python_utils.git]
/
histogram.py
diff --git
a/histogram.py
b/histogram.py
index 993b5036d737cdcd705ef411e5cbcf70ba0da911..d45e93f328185f869c2b3af4cc832db280d14428 100644
(file)
--- a/
histogram.py
+++ b/
histogram.py
@@
-85,8
+85,8
@@
class SimpleHistogram(Generic[T]):
return txt
max_label_width: Optional[int] = None
return txt
max_label_width: Optional[int] = None
- lowest_start:
int
= None
- highest_end:
int
= None
+ lowest_start:
Optional[int]
= None
+ highest_end:
Optional[int]
= None
for bucket in sorted(self.buckets, key=lambda x: x[0]):
start = bucket[0]
if lowest_start is None:
for bucket in sorted(self.buckets, key=lambda x: x[0]):
start = bucket[0]
if lowest_start is None: