One of Bokeh's most unique features is the ability to add widgets that add interactivity to plots. Widgets allow the user of the plot to change what they want to see by making selections, clicking on buttons, and typing into textboxes. In this section, you will learn about all the widgets that Bokeh can add to your Toolbelt.
The two imports that you will need to create and output any kind of widget are given here:
from bokeh.io import output_file, show
from bokeh.layouts import widgetbox