I’m trying to change the appearance of a patch when it’s selected with the TapTool. I’m creating a figure and adding some patches like:
p = figure(some_args)
p.patches(‘xs’,‘ys’, source=source, name=“my patches”)
glyph = p.select(name=“mypatches”).selection_glyph
glyph.line_color = “blue”
But the glyph that it’s returned is NoneType. Checking the code inside _glyph_function it seems that only the glyph and nonselection_glyph member variables of the GlyphRenderer are initialized.
I just started using Bokeh, is this the correct way if editing the appearance of glyphs for tap events? Thanks a lot for your help and for creating such a great library!