Python:如何在bokeh上添加多个补丁?

时间:2019-05-23 16:40:34

标签: python bokeh

我想在bokeh中看到不同的补丁。假设sourcesource1

    p = figure(plot_width=800)
    p.patches('x', 'y', source = source, fill_color='white', fill_alpha=0.5, 
line_color="black", line_width=1)

    p.patches('x', 'y', source = source1, fill_color='white', fill_alpha=0.5, 
line_color="black", line_width=1)

如果这样做,我只能看到source1。有没有添加多层的方法?

0 个答案:

没有答案