def is_consecutive(self, rtol: float = 1.e-5, atol: float = 1.e-8) -> bool:
        """Whether all bins are in a growing order.

        Parameters
        ----------
        rtol, atol : numpy tolerance parameters
        """
        if self.inconsecutive_allowed:
            if self._consecutive is None:
                if self._numpy_bins is not None:
                    self._consecutive = True
                self._consecutive = is_consecutive(self.bins, rtol, atol)
            return self._consecutive
        else:
            return True
Whether all bins are in a growing order.

        Parameters
        ----------
        rtol, atol : numpy tolerance parameters