def proposed_scaling_both(current, desired):
    """
    identify a single scalar to scale the image by so that 
    it is closer to the desired scaling (fills the space as much as possible)

    Arguments
    ---------
    current : tuple
        float tuple of current size of svg object
    desired : tuple
        float tuple of desired size of svg object

    Returns
    -------
    float
        constant scalar for size change
    """
    scale_x = desired[0]/current[0]
    scale_y = desired[1]/current[1]
    
    return scale_x,scale_y