def test_get_data_lim():
    arr = np.random.rand(10, 5)
    assert 0 < _get_data_lim(arr) < 1
    assert 0 < _get_data_lim(arr, 2) < 1
dataset/ETHPy150Open kwikteam/phy/phy/io/tests/test_array.py/test_get_data_lim/original