heatmap dataset reset function