(area, aspect_ratio=0.75)
return np.sqrt([area / aspect_ratio, area * aspect_ratio]) / 2.
Convert from area and aspect_ratio to (width, height).
Convert from area and aspect_ratio to (width, height).
Convert from area and aspect_ratio to ( width height ) .
def _area_to_size(area, aspect_ratio=0.75):
  """Convert from area and aspect_ratio to (width, height)."""
  return np.sqrt([area / aspect_ratio, area * aspect_ratio]) / 2.
def _area_to_size ( area , aspect_ratio = 0.75 ) : return np . sqrt ( [ area / aspect_ratio , area * aspect_ratio ] ) / 2.