示例#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'
     })
示例#2
0
 def setUp(self):
     from bokeh.glyphs import BaseGlyph
     self.test_glyph = BaseGlyph()