首页 > 代码库 > 数据可视化- bokeh

数据可视化- bokeh


from bokeh.io import output_notebook, output_file, show
from bokeh.charts import Scatter, Bar, BoxPlot, Chord
from bokeh.layouts import row

import seaborn as sns

# 导入数据
exercise = sns.load_dataset('exercise')

output_notebook()
#output_file('test.html')

# 散点图
p = Scatter(data=http://www.mamicode.com/exercise, x='id', y='pulse', title='exercise dataset')>

数据可视化- bokeh