def _snap_size(rectangles):
    x = Counter([round(1 / r.w) for r in rectangles])
    y = Counter([round(1 - r.h) for r in rectangles])
    return x.most_common()[0][0], y.most_common()[0][0]
dataset/ETHPy150Open glue-viz/glue/glue/core/layout.py/_snap_size/operator `/` -> `-`