hover tool not showing up in dashboard example?

Hi,

I'm having a look at the dashboard example in the datashader package. In
the code of dashboard.py at around line 290 there's a method
update_hover which seems to properly take care of adding a hover layer.
When I load the nyc taxi example like this:

python dasboard.py -c nyc_taxi.yml

the hover tool is shown in the tool list on the right hand side. I can
uncheck and check the checkbox inside it, but there is nothing showing
up, when I move my mouse over any datapoint.

Am I missing something about how the hover_tool is supposed to work?

It works fine for me, when I run hover_layer.ipynb from the bokeh
examples in the same virtual environment.

Cheers
Jan

Hi Jan! Thanks for your bug report. Datashader is managed separately from bokeh, and uses github issues to manage questions like this, so could you please file an issue at https://github.com/bokeh/datashader/issues listing your bokeh and datashader versions? It doesn’t sound like hover is working as it should for you.

···

On Wed, Oct 12, 2016 at 6:28 AM, Jan Girlich [email protected] wrote:

Hi,

I’m having a look at the dashboard example in the datashader package. In

the code of dashboard.py at around line 290 there’s a method

update_hover which seems to properly take care of adding a hover layer.

When I load the nyc taxi example like this:

python dasboard.py -c nyc_taxi.yml

the hover tool is shown in the tool list on the right hand side. I can

uncheck and check the checkbox inside it, but there is nothing showing

up, when I move my mouse over any datapoint.

Am I missing something about how the hover_tool is supposed to work?

It works fine for me, when I run hover_layer.ipynb from the bokeh

examples in the same virtual environment.

Cheers

Jan

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/a85035c1-0f71-c5c4-425a-a7d5cf619dd5%40modzero.ch.

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

Jim

Hi James,

···

Am 12.10.2016 um 14:36 schrieb James Bednar:

Hi Jan! Thanks for your bug report. Datashader is managed separately from
bokeh, and uses github issues to manage questions like this, so could you
please file an issue at https://github.com/bokeh/datashader/issues listing
your bokeh and datashader versions? It doesn't sound like hover is working
as it should for you.

I created an issue here: https://github.com/bokeh/datashader/issues/252

But as far as I understand the hover tool in datashader is entirely
covered by the bokeh part, isn't it?

Cheers
Jan

Thanks! Datashader hovering is implemented using Bokeh, but the code for it is part of the datashader repo because it is specific to datashader (the data has to be re-aggregated to allow hovering). I’ll respond to the issue over there.

···

On Wed, Oct 12, 2016 at 10:52 AM, Jan Girlich [email protected] wrote:

Hi James,

Am 12.10.2016 um 14:36 schrieb James Bednar:

Hi Jan! Thanks for your bug report. Datashader is managed separately from

bokeh, and uses github issues to manage questions like this, so could you

please file an issue at https://github.com/bokeh/datashader/issues listing

your bokeh and datashader versions? It doesn’t sound like hover is working

as it should for you.

I created an issue here: https://github.com/bokeh/datashader/issues/252

But as far as I understand the hover tool in datashader is entirely

covered by the bokeh part, isn’t it?

Cheers

Jan

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/3c90faca-47d3-5375-7f96-a42929390174%40modzero.ch.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Jim

Hi Jim,

Thanks! Datashader hovering is implemented using Bokeh, but the code for
it is part of the datashader repo because it is specific to datashader (the
data has to be re-aggregated to allow hovering). I'll respond to the issue
over there.

don't mean to rush you, but I need to get this to work. Maybe you can
tell me how I can help to debug this. I'm an experienced developer
(backend, not web), but I don't know the codebase of datashader and
where to start looking to debug this. So it would speed me up a lot if
you could tell me a few words about where to start looking at this.

Cheers
Jan

···

Am 12.10.2016 um 18:26 schrieb James Bednar:

Jim

On Wed, Oct 12, 2016 at 10:52 AM, Jan Girlich <[email protected]> > wrote:

Hi James,

Am 12.10.2016 um 14:36 schrieb James Bednar:

Hi Jan! Thanks for your bug report. Datashader is managed separately

from

bokeh, and uses github issues to manage questions like this, so could you
please file an issue at https://github.com/bokeh/datashader/issues

listing

your bokeh and datashader versions? It doesn't sound like hover is

working

as it should for you.

I created an issue here: https://github.com/bokeh/datashader/issues/252

But as far as I understand the hover tool in datashader is entirely
covered by the bokeh part, isn't it?

Cheers
Jan

--
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/3c90faca-47d3-5375-7f96-
a42929390174%40modzero.ch.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
mobile phone: +49 173 4244 494

Key fingerprint = FCE4 0BCD 63E9 B426 84AC 9EDC 6EDD 26B6 32BB 9E09

             modzero AG Schweiz modzero GmbH Deutschland
              Oberfeldstr. 120B Friedrichstr. 95
             CH-8408 Winterthur DE-10117 Berlin
         HRB CH-020.3.036.501-1 HRB 147824 B (Charlottenburg)
  MwSt. ID: CH-236.520.692 MWST USt. ID: DE288107996

Geschaeftsleiter: Max Moser & Thorsten Schroeder
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
by mistake) please notify the sender immediately and destroy this
e-mail. Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.