generate a heatmap in matplotlib using a scatter data set,ax.xaxis.set_major_locator(locator)