Heatmap wrong colorbar number resolution limits

The problem seems to be that the colorbar got truncated by a narrow figure margin. Increase it with Measures:

using Measures(), Plots; gr()
M = (rand(9,9) .- 0.5)/2000
heatmap(M, clims=(-0.0002, 0.0002), margins=10mm)
4 Likes