readying up for loading in commit messages to UI

This commit is contained in:
2023-02-15 23:45:50 -08:00
parent 5d6ca69a2b
commit e4decf6ee2
5 changed files with 80 additions and 51 deletions

View File

@@ -26,7 +26,7 @@ var (
func GetWeekSVG(frequencies []int, shouldHighlight bool) bytes.Buffer {
squareColors := []sc.SimpleColor{}
min, max := common.MinMax(frequencies)
fmt.Println(frequencies)
// fmt.Println(frequencies)
for _, f := range frequencies {
squareColors = append(squareColors, common.ColorForFrequency(f, min, max))
}