def METHOD_NAME():
    filename = os.path.join("tests", "testdata", "HD2D.dfsu")
    dfs = mikeio.open(filename)
    da = dfs.read(items="Surface elevation", time=0)[0]
    elem40 = np.arange(40)
    with pytest.raises(Exception):
        da.plot.contour(elements=elem40)