def METHOD_NAME(self, axes="auto", figsize=(9,1.5), **kwargs):
    """
    Shows a colorbar for Vapor's transfer function using pylab.colorbar.
    This function takes the same kwargs as pylab.colorbar and those
    parameters are passed onto the matplotlib function.
    """
    cmap = self.GetMatPlotLibColormap()
    # a = [[0, 1]]
    a = [self.GetMinMaxMapValue()]
    pl.figure(figsize=figsize)
    img = pl.imshow(a, cmap=cmap)
    pl.gca().set_visible(False)
    kwargs.setdefault("orientation", "horizontal")
    if axes=="auto":
        if kwargs['orientation'] == "horizontal":
            cax = pl.axes([0.1, 0.2, 0.8, 0.6])
        elif kwargs['orientation'] == "vertical":
            cax = pl.axes([0.2, 0.1, 0.6, 0.8])
        else:
            raise ValueError
    else:
        cax = axes
    kwargs.setdefault("cax", cax)
    cbar = pl.colorbar(**kwargs)
    # pl.savefig("c.png")
    return cbar