def test_panzoom_resize(qtbot, canvas_pz, panzoom):
    c = canvas_pz
    pz = panzoom

    # Increase coverage with different aspect ratio.
    c.native.resize(400, 600)
    # qtbot.stop()
    # c.events.resize(size=(100, 1000))
    assert list(pz._canvas_aspect) == [1., 3 / 2.]
dataset/ETHPy150Open kwikteam/phy/phy/plot/tests/test_panzoom.py/test_panzoom_resize/swapped operands of `/`