'Set the heatmap data for display.'

def set_heatmap_data(self, data):

    if (self.__data is not data):
        self.clear()
        self.__data = data
        self._update_pixmap()
        self.update()
