Skip to content

Commit 901b952

Browse files
committed
Include commas in histogram bins
1 parent 4925c33 commit 901b952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/scripts/summarize_stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,10 +831,10 @@ def calculate_rows(self, stats: Stats) -> Rows:
831831
if v != 0:
832832
last_non_zero = len(rows)
833833
rows.append(
834-
(f"<= {entry}", Count(v), Ratio(int(v), stats[self.den]))
834+
(f"<= {entry:,d}", Count(v), Ratio(int(v), stats[self.den]))
835835
)
836836
# Don't include any zero entries at the end
837-
rows = rows[:last_non_zero + 1]
837+
rows = rows[: last_non_zero + 1]
838838
return rows
839839

840840
class UnsupportedOpcodesTable(SimpleChangeTable):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy