fips.Vector.round_labels#

Vector.round_labels(decimals)[source]#

Return the vector with its float labels rounded (Space.round_labels()).

Parameters:

decimals (int) – Number of decimal places.

Returns:

The same values on the rounded labels.

Return type:

Vector

Raises:

ValueError – If rounding makes two labels of a block equal.