Bokeh 2.3.3 -

# Add a line renderer with legend and line thickness p.line(x, y, legend_label="sin(x)", line_width=2)

import numpy as np from bokeh.plotting import figure, show bokeh 2.3.3

# Show the results show(p)