コード例 #1
0
show(row(box1, box2))

# In[6]:

# 弦图 Chord
chord1 = Chord(data=exercise, source="id", target="kind")
chord2 = Chord(data=exercise, source="id", target="kind", value="pulse")

show(row(chord1, chord2))

# * bokeh.plotting

# In[7]:

from bokeh.plotting import figure
import numpy as np

p = figure(plot_width=400, plot_height=400)
# 方框
p.square(np.random.randint(1, 10, 5),
         np.random.randint(1, 10, 5),
         size=20,
         color="navy")

# 圆形
p.circle(np.random.randint(1, 10, 5),
         np.random.randint(1, 10, 5),
         size=10,
         color="green")
show(p)