I would suggest that you want a CustomJS callback for your TapTool, that is configured with both data sources in the “args” dict for the callback.
Regarding the visual appearance of selections, those are set by policy, there is some information about that here:
[http://bokeh.pydata.org/en/latest/docs/user_guide/styling.html#selected-and-unselected-glyphs](http://bokeh.pydata.org/en/latest/docs/user_guide/styling.html#selected-and-unselected-glyphs)
I think if you want nothing to look different, you could do:
renderer.nonselection_glyph = renderer.glyph
or possibly (untested)
renderer.nonselection_glyph = None
Thanks,
Bryan
On May 3, 2016, at 7:11 AM, rootsumsquared@gmail.com wrote:
I have two plots that do not share the data source, but both understand the labels from the categorical x_range of plot one. When tapping an object in the first plot I want the second graph to show detail for that name.
Firstly, what’s the best way to organise communication between plot one and two? Secondly, tapping on an object greys out other objects in the plot. Is there a flag to tell TapTool not to grey out the other glyphs?
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/ff96fd61-83e7-4b1d-af69-0c26e1b6e9e1%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
–
You received this message because you are subscribed to a topic in the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/QzQjJs5P4f0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/038D1082-7C6B-430A-944E-CC005084F331%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.