bokeh

[bokeh] 도형 결합 (Combining Multiple Glyphs)

J3SUNG 2020. 10. 5. 07:34
728x90

도형 결합

여러 도형을 결합하기 위해서 원하는 도형 형식으로 정의해주면 됩니다.

x = np.random.randn(5)
y = np.random.randn(5)
p = figure(plot_width=400, plot_height=400)
p.circle(x, y, fill_color="white", size = 20)
p.asterisk(x, y, fill_color="white", size = 20)
p.line(x, y, line_width=2)
show(p)

.