use Z tick formatter for the color bar of heatmaps