fips.Operator.round_labels#

Operator.round_labels(decimals)[source]#

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

Parameters:

decimals (int) – Number of decimal places.

Returns:

The same matrix on the rounded labels.

Return type:

Operator

Raises:

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