答案 0 :(得分:4)
您可以尝试使用补丁字形以及您的行,例如:
from bokeh.plotting import figure, output_file, show
output_file("patch.html")
p = figure(plot_width=400, plot_height=400)
p.patch([1,2,3,4,5,5,4,3,2,1],
[1.8, 2.8, 1.5, 2.5, 1.5, 2.5, 3.2, 2.2, 3.4, 2.3],
alpha=0.5, line_width=2)
p.line([1,2,3,4,5],[2,3,2,3,2], line_color='black', line_width=4)
show(p)