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?
I also noticed that only one TapTool can be active for a given x value. How can I have more than one TapTool that would distinguish between the multiple series plotted against a given x value? I understand at the moment one can only get an x coordinate (or index), not the name of the series that was tapped, is that correct?
···
On Tuesday, May 3, 2016 at 1:11:54 PM UTC+1, [email protected] 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?
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?
I'm not sure that's true? I would not expect problems with multiple tap tools, each configured for a different set of renderers. Do you have any actual code you can share of what you've tried?
I also noticed that only one TapTool can be active for a given x value. How can I have more than one TapTool that would distinguish between the multiple series plotted against a given x value? I understand at the moment one can only get an x coordinate (or index), not the name of the series that was tapped, is that correct?
On Tuesday, May 3, 2016 at 1:11:54 PM UTC+1, rootsum...@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?
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 [email protected].
You are correct, my oversight. The TapTool takes a list of renderers, not just one renderer. It’s when you define several TapTools you get mutually exclusive TapTool icons in the toolbar…
···
On 4 May 2016 7:52 p.m., “Bryan Van de Ven” [email protected] wrote:
I’m not sure that’s true? I would not expect problems with multiple tap tools, each configured for a different set of renderers. Do you have any actual code you can share of what you’ve tried?
I also noticed that only one TapTool can be active for a given x value. How can I have more than one TapTool that would distinguish between the multiple series plotted against a given x value? I understand at the moment one can only get an x coordinate (or index), not the name of the series that was tapped, is that correct?
On Tuesday, May 3, 2016 at 1:11:54 PM UTC+1, [email protected] 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 [email protected].