def calc_dims(x, y):
    """
    Given the X and Y bounds generated with calc_bounds() calculate the X and Y dimensions
    :param x:
    :param y:
    :return: The X and Y dimensions
    """
    xd = x[1] - x[0]
    yd = y[1] - y[0]
    return xd, yd