def METHOD_NAME(self):
    self.update_grid_centre_ticks()
    if self.logx:
        self.grid_xe = np.exp(bin_centres_to_edges(np.log(np.sort(self.grid_xc))))
    else:
        self.grid_xe = bin_centres_to_edges(np.sort(self.grid_xc))
    if self.logy:
        self.grid_ye = np.exp(bin_centres_to_edges(np.log(np.sort(self.grid_yc))))
    else:
        self.grid_ye = bin_centres_to_edges(np.sort(self.grid_yc))