frombokeh.modelsimportScatterfrombokeh.plottingimportfigure,showplot=figure(width=400,height=400,tools="tap",title="Select a circle")renderer=plot.scatter([1,2,3,4,5],[2,5,8,2,7],size=50)selected_scatter=Scatter(fill_alpha=1,fill_color="firebrick",line_color=None)nonselected_scatter=Scatter(fill_alpha=0.2,fill_color="blue",line_color="firebrick")renderer.selection_glyph=selected_scatterrenderer.nonselection_glyph=nonselected_scattershow(plot)