コード例 #1
0
def test_SquareX() -> None:
    marker = SquareX()
    check_marker_properties(marker)
    check_line_properties(marker)
    check_fill_properties(marker)
    check_hatch_properties(marker)
    check_properties_existence(marker, MARKER, LINE, FILL, HATCH, GLYPH, ["marker"])
コード例 #2
0
def test_SquareX():
    marker = SquareX()
    yield check_marker, marker
    yield check_fill, marker
    yield check_line, marker
    yield check_props, marker, MARKER, FILL, LINE
コード例 #3
0
def test_SquareX() -> None:
    marker = SquareX()
    check_marker_properties(marker)
    check_fill_properties(marker)
    check_line_properties(marker)
    check_properties_existence(marker, MARKER, FILL, LINE, GLYPH)
コード例 #4
0
def test_SquareX():
    marker = SquareX()
    yield check_marker_properties, marker
    yield check_fill_properties, marker
    yield check_line_properties, marker
    yield check_properties_existence, marker, MARKER, FILL, LINE, GLYPH
コード例 #5
0
ファイル: glyphs.py プロジェクト: PhilWa/bokeh-1
 ("circle", Circle(x="x", y="y", radius=0.1, 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",
              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",