How to use `heatmap` in GR.jl

It looks like maybe GR expects x and y to be the edges of the heatmap grid. Could you try

heatmap([0.5, 1.5, 2.5], [2.5, 3.5, 4.5], [5 6; 7 8])

instead?

3 Likes