from bokeh.plotting import figure, show
from bokeh.io import output_file
from bokeh.models import ColumnDataSource
output_file("line.html")
p = figure(title="Simple line example", x_axis_label='x', y_axis_label='y')
p.line([1, 2, 3, 4], [6, 7, 2, 4], line_width=2)
# Remove background
p.background_fill_color = None
p.border_fill_color = None
p.xgrid.grid_line_color = None
p.ygrid.grid_line_color = None
p.axis.visible = False
p.grid.visible = False
text_data = {'x': [3], 'y': [6], 'text': ['Hello, Bokeh!']}
source = ColumnDataSource(text_data)
p.text(x='x', y='y', text='text', source=source, text_align='center', text_baseline='middle', text_color='black', text_font_size='20pt')
show(p)