ptvis.color.CategoricalColorConversion.apply

CategoricalColorConversion.apply(values)[source]

Apply the conversion to values.

Parameters:

values (series-like) – Values to be converted.

Returns:

pandas.Series of str – Color texts.