status line

In matplotlib when the mouse is hovering the plot area, the x,y coordinates is continuously updated in a statusbar.
How can i make such a functionality using Bokeh?
So to sum up, i want to update the statusbar in the entire plotwindow, and not just when hovering over datapoints.

Thanks

Hi,

This could be accomplished using a hover callback to update some other div or Bokeh text widget:

  http://bokeh.pydata.org/en/latest/docs/user_guide/interaction/callbacks.html#customjs-for-hover

Alternatively, this would be fairly straightforward to write a custom extension to do:

  http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html

Thanks,

Bryan

···

On Jul 31, 2016, at 4:20 PM, Bokeh coder <[email protected]> wrote:

In matplotlib when the mouse is hovering the plot area, the x,y coordinates is continuously updated in a statusbar.
How can i make such a functionality using Bokeh?
So to sum up, i want to update the statusbar in the entire plotwindow, and not just when hovering over datapoints.

Thanks

--
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/009ac281-d56b-4873-9dfd-808f38d7c3e7%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.