Modify text, plot tool icons

Hi,

Is it possible to modify the text that appears over the plot tool icons? for example, instead of “Pan” or “Box Zoom” I would like to describe the tool’s functionality.

Regards,

Felipe

Hi,

This currently hard coded on the BokehJS side. You would need to find a way to change the "tool_name" tribute of the tool object from JavaScript. Not impossible, but I'm not sure the best way offhand. We could consider exposing the value as a property on the Python side, but that would require new development, so a GH issue would be the next step. It would be a nice self-contained chunk of work work a new contributor (and we are currently resource constrained so that help would certainly make it happen faster).

Thanks,

Bryan

···

On Jun 14, 2018, at 11:21, Felipe Cuevas <[email protected]> wrote:

Hi,

Is it possible to modify the text that appears over the plot tool icons? for example, instead of "Pan" or "Box Zoom" I would like to describe the tool's functionality.

Regards,
Felipe

--
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/CAJwqm3Z-Lz4eQGAhZWNoT2CR3Cv3iCG9A%3DFPZ5_32aG7%2BZdjLg%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hi,

thanks for the information. I’ll talk to a colleague and see if he can contribute with this.

Let you know

Felipe

···

2018-06-14 15:29 GMT-04:00 Bryan Van de ven [email protected]:

Hi,

This currently hard coded on the BokehJS side. You would need to find a way to change the “tool_name” tribute of the tool object from JavaScript. Not impossible, but I’m not sure the best way offhand. We could consider exposing the value as a property on the Python side, but that would require new development, so a GH issue would be the next step. It would be a nice self-contained chunk of work work a new contributor (and we are currently resource constrained so that help would certainly make it happen faster).

Thanks,

Bryan

On Jun 14, 2018, at 11:21, Felipe Cuevas [email protected] wrote:

Hi,

Is it possible to modify the text that appears over the plot tool icons? for example, instead of “Pan” or “Box Zoom” I would like to describe the tool’s functionality.

Regards,

Felipe

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/CAJwqm3Z-Lz4eQGAhZWNoT2CR3Cv3iCG9A%3DFPZ5_32aG7%2BZdjLg%40mail.gmail.com.

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/A95BC79E-8C8D-4FE4-B211-3443D8A48D3A%40anaconda.com.

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