@staticmethod
    def _collect_dimensions(**kwargs):
        dims = kwargs.pop(kwargs, None)
        if not dims:
            return 'x', 'y'
        else:
            return dims
Returns dimensions by name from kwargs.
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/data_source.py/ChartDataSource._collect_dimensions