Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from bokeh.plotting import figure
- from bokeh.embed import components, file_html
- from bokeh.resources import CDN
- x = [1, 2, 3, 4, 5]
- y = [6, 7, 2, 4, 5]
- p = figure(title='test', x_axis_label = 'x values', y_axis_label='y values')
- p.line(x,y, line_width =2)
- html = file_html(p,CDN,'plot')
- displayHTML(html)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement