예제 #1
0
              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",
              fill_color=None,
              line_width=2)),
 ("diamond",
  Diamond(x="x", y="y", size="sizes", line_color="#1C9099", line_width=2)),
 ("diamond_cross",
  DiamondCross(x="x",
               y="y",
               size="sizes",
               line_color="#386CB0",
               fill_color=None,
               line_width=2)),
 ("triangle",
  Triangle(x="x", y="y", size="sizes", line_color="#99D594", line_width=2)),
 ("inverted_triangle",
  InvertedTriangle(x="x",
예제 #2
0
def test_SquareCross():
    marker = SquareCross()
    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 SquareCross
     self.test_square_cross = SquareCross()