Created
March 17, 2020 19:24
-
-
Save AntonioMarsella/3451b8d48d2e9afca8b9f68c9e44703a to your computer and use it in GitHub Desktop.
bokeh patches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.io import output_file | |
from bokeh.plotting import figure | |
xs = [ [1,1,2,2,], [2,2,4], [2,2,3,3] ] | |
ys = [ [2,5,5,2], [3,5,5], [2,3,4,2] ] | |
plot = figure() | |
plot.patches(xs, ys, fill_color= ['red', 'blue', 'green'], line_color='white') | |
output_file('patches.html') | |
show(plot) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment