(self, border=0)
return mins, maxs
Returns the boundaries of the layout.

        The boundaries are the minimum and maximum coordinates along all
        dimensions.

        @param border: this value gets subtracted from the minimum bounds
          and gets added to the maximum bounds before returning the coordinates
          of the box. Defaults to zero.
        @return: the minimum and maximum coordinates along all dimensions,
          in a tuple containing two lists, one for the minimum coordinates,
          the other one for the maximum.
        @raises ValueError: if the layout contains no layout items
Returns the boundaries of the layout.
Returns the boundaries of the layout .
def boundaries(self, border=0):
        """Returns the boundaries of the layout.

        The boundaries are the minimum and maximum coordinates along all
        dimensions.

        @param border: this value gets subtracted from the minimum bounds
          and gets added to the maximum bounds before returning the coordinates
          of the box. Defaults to zero.
        @return: the minimum and maximum coordinates along all dimensions,
          in a tuple containing two lists, one for the minimum coordinates,
          the other one for the maximum.
        @raises ValueError: if the layout contains no layout items
        """
        if not self._coords:
            raise ValueError("layout contains no layout items")

        mins, maxs = [], []
        for dim in range(self._dim):
            col = [row[dim] for row in self._coords]
            mins.append(min(col) - border)
            maxs.append(max(col) + border)
        return mins, maxs
def boundaries ( self , border = 0 ) : if not self . _coords : raise ValueError ( "layout contains no layout items" ) mins , maxs = [ ] , [ ] for dim in range ( self . _dim ) : col = [ row [ dim ] for row in self . _coords ] mins . append ( min ( col ) - border ) maxs . append ( max ( col ) + border ) return mins , maxs