Exemple #1
0
 def test_constructor(self):
     from bokeh.glyphs import BaseGlyph
     test_glyph = BaseGlyph(visible=True, margin=8)
     self.assertEqual(test_glyph.to_glyphspec(), {
         'visible': True,
         'margin': 8,
         'type': 'BaseGlyph'
     })
Exemple #2
0
 def setUp(self):
     from bokeh.glyphs import BaseGlyph
     self.test_glyph = BaseGlyph()