Assign heatmap closure to __heatmapClosure