'Draw the colors using :meth:`~matplotlib.axes.Axes.pcolormesh`;
optionally add separators.'

def _add_solids(self, X, Y, C):

    if (self.extend in [u'min', u'both']):
        cc = self.to_rgba([C[0][0]])
        self.extension_patch1.set_fc(cc[0])
        (X, Y, C) = (X[1:], Y[1:], C[1:])
    if (self.extend in [u'max', u'both']):
        cc = self.to_rgba([C[(-1)][0]])
        self.extension_patch2.set_fc(cc[0])
        (X, Y, C) = (X[:(-1)], Y[:(-1)], C[:(-1)])
    if (self.orientation == u'vertical'):
        args = (X, Y, C)
    else:
        args = (np.transpose(Y), np.transpose(X), np.transpose(C))
    kw = {u'cmap': self.cmap, u'norm': self.norm, u'shading': u'flat', u'alpha': self.alpha}
    del self.solids
    del self.dividers
    col = self.ax.pcolormesh(*args, **kw)
    self.solids = col
    if self.drawedges:
        self.dividers = collections.LineCollection(self._edges(X, Y), colors=(mpl.rcParams[u'axes.edgecolor'],), linewidths=((0.5 * mpl.rcParams[u'axes.linewidth']),))
        self.ax.add_collection(self.dividers)
    else:
        self.dividers = None
