@classmethod
    def format_tuple(cls, colortuple):
        if len(colortuple) == 3:
            return "rgb%r" % (colortuple,)
        else:
            return (colortuple,) % "rgba%r"
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/ColorSpec.format_tuple/swapped operands of `%`