(self)
return self.get_column(self.attr_color, max_categories=MAX_COLORS,
                               return_labels=True)
Return labels for the color legend

        Returns:
            (list of str): labels
Return labels for the color legend
Return labels for the color legend
def get_color_labels(self):
        """
        Return labels for the color legend

        Returns:
            (list of str): labels
        """
        if self.attr_color is None:
            return None
        if not self.attr_color.is_discrete:
            return self.attr_color.str_val
        return self.get_column(self.attr_color, max_categories=MAX_COLORS,
                               return_labels=True)
def get_color_labels ( self ) : if self . attr_color is None : return None if not self . attr_color . is_discrete : return self . attr_color . str_val return self . get_column ( self . attr_color , max_categories = MAX_COLORS , return_labels = True )