

def test_dimension_values_kdim(self):
    cube = Dataset(self.cube, kdims=['longitude', 'latitude'])
    self.assertEqual(cube.dimension_values('longitude', expanded=False), np.array([(- 1), 0, 1, 2], dtype=np.int32))

dataset/ETHPy150Open ioam/holoviews/tests/testirisinterface.py TestCube.test_dimension_values_kdim/original