Different hover tooltips for different kinds of glyphs

Hi all,

is there a way to:

  • add hover tooltips only to a certain number of glyphs in the plot

or

  • add differnet hover tooltips for different kinds of glyps?

Cheers,

Kamil

Recently added, you can set a "renderers" attribute on hover and click tools that will restrict the renderers to hit test to just those specified.

Bryan

···

On Jul 17, 2014, at 4:37 AM, Kamil Kloch <[email protected]> wrote:

Hi all,

is there a way to:
* add hover tooltips only to a certain number of glyphs in the plot

or
* add differnet hover tooltips for different kinds of glyps?

Cheers,
Kamil

--
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6423ee06-aaf1-4eb5-bd4a-16d075852778%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Thx for the info!

Is there working proof-of-concept somewhere in the examples database?

No but it would be good to add one!

···

On Jul 17, 2014, at 8:24 AM, Kamil Kloch <[email protected]> wrote:

Thx for the info!
Is there working proof-of-concept somewhere in the examples database?

--
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0a3640a0-41b5-4546-99fc-099f6073b070%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

@Bryan Could you provide the commit# where the change was put in?

···

On Thursday, July 17, 2014 5:28:45 AM UTC-7, Bryan Van de ven wrote:

No but it would be good to add one!

On Jul 17, 2014, at 8:24 AM, Kamil Kloch [email protected] wrote:

Thx for the info!

Is there working proof-of-concept somewhere in the examples database?


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].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0a3640a0-41b5-4546-99fc-099f6073b070%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Here is the PR:

  Add click tool, allow click and hover tools to be always on by bryevdv · Pull Request #752 · bokeh/bokeh · GitHub

There's alot of room for improvement around our tools and event handling.

Bryan

···

On Jul 17, 2014, at 7:43 PM, Waqar Malik <[email protected]> wrote:

@Bryan Could you provide the commit# where the change was put in?

On Thursday, July 17, 2014 5:28:45 AM UTC-7, Bryan Van de ven wrote:
No but it would be good to add one!

On Jul 17, 2014, at 8:24 AM, Kamil Kloch <[email protected]> wrote:

>
> Thx for the info!
> Is there working proof-of-concept somewhere in the examples database?
>
> --
> 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+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0a3640a0-41b5-4546-99fc-099f6073b070%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/ca2d36b4-99c6-4476-8e26-13576b371ae2%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

I am also trying to have a hover tool in some glyphs, and another hover tool (or none) in anothers.

I see that one month passed after this question was opened… do you know of any simple example around now?

I’ve tried with hover.renderers but I am having not success at all.

I must say that I am a beginner (in bokeh, but also not proficient in python), running version 0.5.2, and I am immensly grateful to the developers of bokeh for this nice library and for all the nice documentation and examples that are already out there. Thank you!

El dijous 17 de juliol de 2014 10:37:51 UTC+2, Kamil Kloch va escriure:

···

Hi all,

is there a way to:

  • add hover tooltips only to a certain number of glyphs in the plot

or

  • add differnet hover tooltips for different kinds of glyps?

Cheers,

Kamil

Hi Jordi,

There is an open Github issue: https://github.com/ContinuumIO/bokeh/issues/975 reporting the same problem. Depending on what type of glyphs you’re trying to activate you might be able to find a workaround (e.g. in the reported issue, the problem can be temporarily solved until it gets fixed by downgrading to 0.5.1, because it uses patches and circles and only wants to hover over circles).

Christine

···

On Wed, Aug 27, 2014 at 5:03 AM, [email protected] wrote:

I am also trying to have a hover tool in some glyphs, and another hover tool (or none) in anothers.

I see that one month passed after this question was opened… do you know of any simple example around now?

I’ve tried with hover.renderers but I am having not success at all.

I must say that I am a beginner (in bokeh, but also not proficient in python), running version 0.5.2, and I am immensly grateful to the developers of bokeh for this nice library and for all the nice documentation and examples that are already out there. Thank you!

El dijous 17 de juliol de 2014 10:37:51 UTC+2, Kamil Kloch va escriure:

Hi all,

is there a way to:

  • add hover tooltips only to a certain number of glyphs in the plot

or

  • add differnet hover tooltips for different kinds of glyps?

Cheers,

Kamil

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].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/aadd9395-8746-4682-a2c2-6a4f1dd20c3d%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thank you Christine for the link!
Unfortunately the patches workaround doesn’t solve my issue.

El dimecres 27 d’agost de 2014 18:12:51 UTC+2, Christine Doig va escriure:

···

Hi Jordi,

There is an open Github issue: https://github.com/ContinuumIO/bokeh/issues/975 reporting the same problem. Depending on what type of glyphs you’re trying to activate you might be able to find a workaround (e.g. in the reported issue, the problem can be temporarily solved until it gets fixed by downgrading to 0.5.1, because it uses patches and circles and only wants to hover over circles).

Christine

On Wed, Aug 27, 2014 at 5:03 AM, [email protected] wrote:

I am also trying to have a hover tool in some glyphs, and another hover tool (or none) in anothers.

I see that one month passed after this question was opened… do you know of any simple example around now?

I’ve tried with hover.renderers but I am having not success at all.

I must say that I am a beginner (in bokeh, but also not proficient in python), running version 0.5.2, and I am immensly grateful to the developers of bokeh for this nice library and for all the nice documentation and examples that are already out there. Thank you!

El dijous 17 de juliol de 2014 10:37:51 UTC+2, Kamil Kloch va escriure:

Hi all,

is there a way to:

  • add hover tooltips only to a certain number of glyphs in the plot

or

  • add differnet hover tooltips for different kinds of glyps?

Cheers,

Kamil

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].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/aadd9395-8746-4682-a2c2-6a4f1dd20c3d%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You’re welcome! Bryan is looking into that issue, we’ll let you know when it gets fixed. In the meantime, you are welcome to describe in more detail your problem on the mailing-list or in that github issue (e.g what kind of glyphs you are trying to get hover to work on…), so I can let you know if there is a workaround in your particular case.

Christine

P.D: M’ha fet gràcia llegir la capçalera del teu mail “dimecres 27 d’agost la Christine va escriure”. ^^ Encara que pel meu nom no ho sembli, sóc de Barcelona :slight_smile:

···

On Wed, Aug 27, 2014 at 12:37 PM, [email protected] wrote:

Thank you Christine for the link!
Unfortunately the patches workaround doesn’t solve my issue.

El dimecres 27 d’agost de 2014 18:12:51 UTC+2, Christine Doig va escriure:

Hi Jordi,

There is an open Github issue: https://github.com/ContinuumIO/bokeh/issues/975 reporting the same problem. Depending on what type of glyphs you’re trying to activate you might be able to find a workaround (e.g. in the reported issue, the problem can be temporarily solved until it gets fixed by downgrading to 0.5.1, because it uses patches and circles and only wants to hover over circles).

Christine

On Wed, Aug 27, 2014 at 5:03 AM, [email protected] wrote:

I am also trying to have a hover tool in some glyphs, and another hover tool (or none) in anothers.

I see that one month passed after this question was opened… do you know of any simple example around now?

I’ve tried with hover.renderers but I am having not success at all.

I must say that I am a beginner (in bokeh, but also not proficient in python), running version 0.5.2, and I am immensly grateful to the developers of bokeh for this nice library and for all the nice documentation and examples that are already out there. Thank you!

El dijous 17 de juliol de 2014 10:37:51 UTC+2, Kamil Kloch va escriure:

Hi all,

is there a way to:

  • add hover tooltips only to a certain number of glyphs in the plot

or

  • add differnet hover tooltips for different kinds of glyps?

Cheers,

Kamil

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/aadd9395-8746-4682-a2c2-6a4f1dd20c3d%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

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].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/068bb135-e7c5-4d95-995d-11f8772b6924%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Dear Friends,

I want to use Bokeh Hover Tool with a UP/DOWN triangle. In my code Hover displaying only for UP triangle. I cant able to figure out how to make it work for DOWN triangle also. So if anybody knows the solution post it here.

Always,
Sridhar G

This issue was recently reported to the GH issue tracker:

  Charts markers not showing correctly on legend · Issue #1474 · bokeh/bokeh · GitHub

It should be a quick fix that will make it into the upcoming release.

Bryan

···

On Dec 2, 2014, at 6:50 AM, moon disk <[email protected]> wrote:

Dear Friends,

I want to use Bokeh Hover Tool with a UP/DOWN triangle. In my code Hover displaying only for UP triangle. I cant able to figure out how to make it work for DOWN triangle also. So if anybody knows the solution post it here.

Always,
Sridhar G

--
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].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/92a7b295-2531-490c-9c24-d7f42b62744c%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hi all,

I just want to inform to the people involved in the discussion that #945 is a dupe of #1510 and both were fixed by #1511 which was merged post 0.7 release and it is available right now in today’s (20141212) devel build.

Cheers.

Damian

···

On Tuesday, December 2, 2014 12:53:42 PM UTC-3, Bryan Van de ven wrote:

This issue was recently reported to the GH issue tracker:

    [https://github.com/bokeh/bokeh/issues/1474](https://github.com/bokeh/bokeh/issues/1474)

It should be a quick fix that will make it into the upcoming release.

Bryan

On Dec 2, 2014, at 6:50 AM, moon disk [email protected] wrote:

Dear Friends,

I want to use Bokeh Hover Tool with a UP/DOWN triangle. In my code Hover displaying only for UP triangle. I cant able to figure out how to make it work for DOWN triangle also. So if anybody knows the solution post it here.

Always,

Sridhar G


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].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/92a7b295-2531-490c-9c24-d7f42b62744c%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.