'Update the colorbar associated artists, *filled* and
*ends*. Note that *lines* are not updated.  This needs to be
called whenever clim of associated image changes.'

def update_artists(self):

    self._process_values()
    self._add_ends()
    (X, Y) = self._mesh()
    if self.filled:
        C = self._values[:, np.newaxis]
        self._add_solids(X, Y, C)
    ax = self.ax
    (vmin, vmax) = self._get_colorbar_limits()
    if (self.orientation == u'horizontal'):
        ax.set_ylim(1, 2)
        ax.set_xlim(vmin, vmax)
    else:
        ax.set_xlim(1, 2)
        ax.set_ylim(vmin, vmax)
