Why this code can't annote all heatmap cells?

It looks like i and j are swapped.
Try:

ann = [(j, i, text(round(week_day[i, j], digits=2), fontsize, :white, :center)) for i in 1:nrow for j in 1:ncol]
1 Like