☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Stop cursor shape change when hover is on

Community Support
gherka
gherka

Hi,

I wonder if there is a way to stop the cursor turning into a cross-hair shape when Hover tool is included in the plot?

When I move the mouse inside the plot boundaries, the highlighted part of the page HTML changes to cross-hair:

``

I’ve looked over the docs, but didn’t see anything that suggested this behaviour is modifiable “out of the box”.

Many thanks,

G.

⌁   Link to post
Bryan
Bryan

Hi,

This is definitely not currently configurable out of the box. It's probably possible to embed a Bokeh plot in your on template that provides explicit CSS rules to override Bokeh's, but I have not tried personally. It would probably be reasonable to make a GH feature request for this.

Thanks,

Bryan

···

On Feb 16, 2018, at 13:43, German Priks <germanpriks@gmail.com> wrote:

Hi,

I wonder if there is a way to stop the cursor turning into a cross-hair shape when Hover tool is included in the plot?

When I move the mouse inside the plot boundaries, the highlighted part of the page HTML changes to cross-hair:

<div id="BB678891814B4A2C897BEE082F8DF2FD" class="bk-canvas-wrapper" style="touch-action: none; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); width: 600px; height: 800px; cursor: default;">

I've looked over the docs, but didn't see anything that suggested this behaviour is modifiable "out of the box".

Many thanks,
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/34ac8392-e507-4112-b9d5-379127f0ea36%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled