bokeh

[bokeh] 계란형 (Ovals)

J3SUNG 2020. 10. 5. 05:58
728x90

계란형

p = figure(plot_width=400, plot_height=400)
p.oval(x=[1, 2, 3, 4, 5], y=[1, 2, 3, 4, 5],
       width=[0.4, 0.3, 0.7, 0.5, 0.6], height=30, color="darkblue",
       angle=np.pi/2, height_units="screen")
show(p)

.