def test_grid_title(self): grid = GridSpace({(i, j): HoloMap({a: Image(np.random.rand(10,10)) for a in range(3)}, kdims=['X']) for i in range(2) for j in range(3)}) plot = bokeh_renderer.get_plot(grid) title = plot.handles['title'] self.assertIsInstance(title, Div) text = "<span style='font-size: 16pt'><b>X: 0</b></font>" self.assertEqual(title.text, text)