Exemple #1
0
def test_Image():
    glyph = Image()
    assert glyph.image == "image"
    assert glyph.x == "x"
    assert glyph.y == "y"
    assert glyph.dw == "dw"
    assert glyph.dh == "dh"
    assert glyph.dilate == False
    yield check_props, glyph, [
        "image", "x", "y", "dw", "dh", "dilate", "color_mapper"
    ]
Exemple #2
0
 def setUp(self):
     from bokeh.glyphs import Image
     self.test_image = Image()