Skip to content

Commit 05ea4ab

Browse files
fix: update histogram plotting to skip negative values
1 parent e81fb1e commit 05ea4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/coordinator/utils/hdr/plot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func Plot(data []int64) (string, error) {
1515

1616
// Add the data to the histogram
1717
for _, value := range data {
18-
if value <= 0 {
18+
if value < 0 {
1919
continue
2020
}
2121

0 commit comments

Comments
 (0)