RectPartition.approx_equals

RectPartition.approx_equals(other, atol)[source]

Return True in case of approximate equality.

Returns:
approx_eqbool

True if other is a RectPartition instance with self.set == other.set up to atol and self.grid == other.other up to atol, False otherwise.