コード例 #1
0
ファイル: testdimensions.py プロジェクト: acrosby/holoviews
 def test_dimensioned_redim_dict(self):
     dimensioned = Dimensioned('Arbitrary Data', kdims=['x'])
     redimensioned = dimensioned.clone(kdims=['Test'])
     self.assertEqual(redimensioned, dimensioned.redim(x={'name': 'Test'}))
コード例 #2
0
ファイル: testdimensions.py プロジェクト: acrosby/holoviews
 def test_dimensioned_redim_string(self):
     dimensioned = Dimensioned('Arbitrary Data', kdims=['x'])
     redimensioned = dimensioned.clone(kdims=['Test'])
     self.assertEqual(redimensioned, dimensioned.redim(x='Test'))
コード例 #3
0
ファイル: testdimensions.py プロジェクト: graphbio/holoviews
 def test_dimensionsed_redim_dict(self):
     dimensioned = Dimensioned('Arbitrary Data', kdims=['x'])
     redimensioned = dimensioned.clone(kdims=['Test'])
     self.assertEqual(redimensioned, dimensioned.redim(x={'name': 'Test'}))
コード例 #4
0
ファイル: testdimensions.py プロジェクト: graphbio/holoviews
 def test_dimensionsed_redim_string(self):
     dimensioned = Dimensioned('Arbitrary Data', kdims=['x'])
     redimensioned = dimensioned.clone(kdims=['Test'])
     self.assertEqual(redimensioned, dimensioned.redim(x='Test'))
コード例 #5
0
 def test_dimensioned_redim_dict_label(self):
     dimensioned = Dimensioned('Arbitrary Data', kdims=['x'])
     redimensioned = dimensioned.clone(kdims=[('x', 'Test')])
     self.assertEqual(redimensioned, dimensioned.redim.label(x='Test'))
コード例 #6
0
 def test_dimensioned_redim_dict_label(self):
     dimensioned = Dimensioned('Arbitrary Data', kdims=['x'])
     redimensioned = dimensioned.clone(kdims=[('x', 'Test')])
     self.assertEqual(redimensioned, dimensioned.redim.label(x='Test'))