ptvis.color.DiscreteColorConversion.domain

DiscreteColorConversion.domain(values)[source]

Give a domain of the conversion.

Parameters:

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

Returns:

  • value_min (float) – Minimum of the domain.

  • value_max (float) – Maximum of the domain.