def test_responsive_legacy_chart_starts_at_correct_size(output_file_url, selenium):
    values = dict(
        apples=[2, 3, 7, 5, 26, 221, 44, 233, 254, 25, 2, 67, 10, 11],
        oranges=[22, 43, 10, 25, 26, 101, 114, 203, 194, 215, 201, 227, 139, 160],
    )

    area = Area(values, title="Area Chart", responsive=True)
    save(area)

    selenium.set_window_size(width=1000, height=600)
    selenium.get(output_file_url)

    canvas = selenium.find_element_by_tag_name('canvas')
    wait_for_canvas_resize(canvas, selenium)

    # Canvas width should be just under 1000
    assert canvas.size['width'] > 900
    assert 1000 < canvas.size['width']
dataset/ETHPy150Open bokeh/bokeh/tests/integration/interaction/test_responsive.py/test_responsive_legacy_chart_starts_at_correct_size/swapped operands of `<`