登录后复制 from bokeh.plotting import figure, show from bokeh.io import output_file output_file("line.html") p = figure(title="Simple line example", x_axis_label='x', y_axis_label='y') p.line([1, 2, 3, 4], [6, 7, 2, 4], legend_label="Temp.", line_width=2) # Hide the toolbar plot.toolbar_location = None show(p) 1.2.3.4.5.6.7.8.9.10. 原创作者: guotong1988 转载于: https://blog.51cto.com/guotong1988/11899647