예제 #1
0
def test_Dash() -> None:
    marker = Dash()
    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_Dash() -> None:
    marker = Dash()
    check_marker_properties(marker)
    check_fill_properties(marker)
    check_line_properties(marker)
    check_properties_existence(marker, MARKER, FILL, LINE, GLYPH)
예제 #3
0
              line_color="#F0027F",
              fill_color=None,
              line_width=2)),
    ("x",
     X(x="x",
       y="y",
       size="sizes",
       line_color="thistle",
       fill_color=None,
       line_width=2)),
    ("hex", Hex(x="x", y="y", size="sizes", line_color="#99D594",
                line_width=2)),
    ("dash",
     Dash(x="x",
          y="y",
          size="sizes",
          angle=0.5,
          line_color="#386CB0",
          line_width=1)),
]


def make_tab(title, glyph):
    plot = Plot()
    plot.title.text = title

    plot.add_glyph(source, glyph)

    xaxis = LinearAxis()
    plot.add_layout(xaxis, 'below')

    yaxis = LinearAxis()