コード例 #1
0
 def test_dmap_overlay_linked_operation_mul_dmap_ndoverlay(self):
     mapped = operation(self.dmap_overlay, link_inputs=True)
     test = mapped * self.dmap_ndoverlay
     initialize_dynamic(test)
     layers = [mapped, mapped, self.dmap_ndoverlay]
     self.assertEqual(split_dmap_overlay(test), layers)
コード例 #2
0
 def test_dmap_overlay_mul_overlay(self):
     test = self.dmap_overlay * self.overlay
     initialize_dynamic(test)
     layers = [self.dmap_overlay, self.dmap_overlay, self.el1, self.el2]
     self.assertEqual(split_dmap_overlay(test), layers)
コード例 #3
0
 def test_dmap_element_mul_ndoverlay(self):
     test = self.dmap_element * self.ndoverlay
     initialize_dynamic(test)
     layers = [self.dmap_element, self.ndoverlay]
     self.assertEqual(split_dmap_overlay(test), layers)
コード例 #4
0
 def test_dmap_overlay_mul_element(self):
     test = self.dmap_overlay * self.element
     initialize_dynamic(test)
     layers = [self.dmap_overlay, self.dmap_overlay, self.element]
     self.assertEqual(split_dmap_overlay(test), layers)
コード例 #5
0
ファイル: testplotutils.py プロジェクト: zbarry/holoviews
 def test_dmap_overlay_linked_operation_mul_dmap_element_ndoverlay(self):
     mapped = self.dmap_overlay.map(lambda x: x.get(0), Overlay)
     test = mapped * self.element * self.dmap_ndoverlay
     initialize_dynamic(test)
     layers = [mapped, self.element, self.dmap_ndoverlay]
     self.assertEqual(split_dmap_overlay(test), layers)