def test_Annulus(): glyph = Annulus() assert glyph.x == "x" assert glyph.y == "y" assert glyph.inner_radius == None assert glyph.outer_radius == None yield check_fill, glyph yield check_line, glyph yield check_props, glyph, ["x", "y", "inner_radius", "outer_radius"], FILL, LINE
return dict(value=value, units="screen") glyphs = [ ("annular_wedge", AnnularWedge(x="x", y="y", inner_radius=screen(10), outer_radius=screen(20), start_angle=0.6, end_angle=4.1, fill_color="#8888ee")), ("annulus", Annulus(x="x", y="y", inner_radius=screen(10), outer_radius=screen(20), fill_color="#7FC97F")), ("arc", Arc(x="x", y="y", radius=screen(20), start_angle=0.6, end_angle=4.1, line_color="#BEAED4", line_width=3)), ("bezier", Bezier(x0="x", y0="y", x1="xp02", y1="y",
def setUp(self): from bokeh.glyphs import Annulus self.test_annulus = Annulus()