예제 #1
0
]

markers = [
    ("circle",
     Circle(x="x",
            y="y",
            radius=0.1,
            radius_units="data",
            fill_color="#3288BD")),
    ("circle_x",
     CircleX(x="x", y="y", size="sizes", line_color="#DD1C77",
             fill_color=None)),
    ("circle_cross",
     CircleCross(x="x",
                 y="y",
                 size="sizes",
                 line_color="#FB8072",
                 fill_color=None,
                 line_width=2)),
    ("square", Square(x="x", y="y", size="sizes", fill_color="#74ADD1")),
    ("square_x",
     SquareX(x="x",
             y="y",
             size="sizes",
             line_color="#FDAE6B",
             fill_color=None,
             line_width=2)),
    ("square_cross",
     SquareCross(x="x",
                 y="y",
                 size="sizes",
                 line_color="#7FC97F",
예제 #2
0
def test_CircleCross():
    marker = CircleCross()
    yield check_marker, marker
    yield check_fill, marker
    yield check_line, marker
    yield check_props, marker, MARKER, FILL, LINE
예제 #3
0
 def setUp(self):
     from bokeh.glyphs import CircleCross
     self.test_circle_cross = CircleCross()