def _get_group_label(self, group, attr='label'):
        if attr is 'label':
            label = group.label
        else:
            label = group[attr]
            if isinstance(label, dict):
                label = tuple(label.values())

        return self._get_label(label)
Get the label of the group by the attribute name.
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/builder.py/Builder._get_group_label