heatmap legend works