Bokeh introduction
source: https://github.com/PacktPublishing/Hands-on-Data-Visualization-with-Bokeh
Last updated
source: https://github.com/PacktPublishing/Hands-on-Data-Visualization-with-Bokeh
Last updated
output_file('plot.html')output_notebook()from bokeh.plotting import figure
p = figure(plot_width = 500, plot_height = 400, tools="pan, hover")p.line(x, y)
p.xaxis.axis_label = 'CO2 (mg/l)'
p.yaxis.axis_label = 'enzyme activity'output_file('line_plot.html') # not in the case of using notebook
show(p)