'Return colorbar data coordinates for *N* uniformly
spaced boundaries.'

def _uniform_y(self, N):

    (vmin, vmax) = self._get_colorbar_limits()
    if isinstance(self.norm, colors.LogNorm):
        y = np.logspace(np.log10(vmin), np.log10(vmax), N)
    else:
        y = np.linspace(vmin, vmax, N)
    return y
