def fr_big_enough_to_draw_on(fr, w_fits, h_fits):
    scale = min(float(w_fits) / float(fr.shape[1]),
                float(fr.shape[0]) / float(h_fits))
    return scale >= 1.0
dataset/ETHPy150Open dthpham/butterflow/butterflow/draw.py/fr_big_enough_to_draw_on/swapped operands of `/`