ptvis.color.DiscreteColorConversion.apply

DiscreteColorConversion.apply(values)[source]

Apply the conversion to values.

Parameters:

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

Returns:

pandas.Series of str – Color texts.