def sample_size(dataframe):
    """Return the sample size in coordinate space.

    Args:
      dataframe (GeoDataFrame): dataframe containing samples

    Returns:
      tuple(float, float): tuple with width and height in map units
    """
    left, bottom, right, top = dataframe.iloc[0].geometry.bounds
    return abs(left - right), abs(top - bottom)
