Created
March 17, 2020 19:17
-
-
Save AntonioMarsella/dad7b5da719ac9f22e55f328efbae141 to your computer and use it in GitHub Desktop.
lines and markers plot using bokeh glyphs
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, show | |
from bokeh.plotting import figure | |
x = [1,2,3,4,5] | |
y = [8,6,5,2,3] | |
plot = figure() | |
plot.line(x, y, line_width=2) | |
#to use markers | |
plot.circle(x, y, fill_color='white', size=10) | |
output_file('line.html') | |
show(plot) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment