@staticmethod
    def _ensure_tuple(attr):
        if not isinstance(attr, tuple):
            return (attr,)
        else:
            return attr
Return tuple with the provided value. Returns the value if a tuple.
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/attributes.py/AttrSpec._ensure_tuple