The current release of the Bokeh package has deprecated the legend keyword, so the output from jupyter now includes the following message:
BokehDeprecationWarning: 'legend' keyword is deprecated, use explicit 'legend_label', 'legend_field', or 'legend_group' keywords instead
The current release of the Bokeh package has deprecated the legend keyword, so the output from jupyter now includes the following message: