# How to disable hover tool programmatically?

**URL:** <https://discourse.bokeh.org/t/how-to-disable-hover-tool-programmatically/2002>\
**Category:** Community Support\
**Created:** [February 23, 2017, 7:25pm UTC](https://discourse.bokeh.org/t/how-to-disable-hover-tool-programmatically/2002 "2017-02-23T19:25:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas.fr](https://discourse.bokeh.org/letter_avatar_proxy/v4/letter/n/13edae/32.png) [@nicolas.fr](https://discourse.bokeh.org/u/nicolas.fr)\
**Post date:** [February 23, 2017, 7:25pm UTC](https://discourse.bokeh.org/t/how-to-disable-hover-tool-programmatically/2002/1 "2017-02-23T19:25:14Z")

</div>

Hi all,  
The hover and crosshair tools are enabled by default when added to the toolbar.

I’d like them to be available but disabled by default - i.e. not active when the plot is created.

There’s nos equivalent to `active_drag`, `active_scroll`, or `active_tap.`

Is there a trick to achieve what I would like to do?

Thanks for your help.

Nicolas

---

<div class="post-metadata">

**Author:** ![Bryan](https://discourse.bokeh.org/user_avatar/discourse.bokeh.org/bryan/32/3625_2.png) [@Bryan](https://discourse.bokeh.org/u/Bryan)\
**Post date:** [March 11, 2017, 4:31am UTC](https://discourse.bokeh.org/t/how-to-disable-hover-tool-programmatically/2002/2 "2017-03-11T04:31:04Z")

</div>

Hi,

I don't think this is currently possible, but it seems like a reasonable request. Can you make a feature request issue on GitHub (I don't see one there already)

&nbsp;&nbsp;[Issues · bokeh/bokeh · GitHub](https://github.com/bokeh/bokeh/issues)

Thanks,

Bryan

> **···**
>
> > On Feb 23, 2017, at 13:25, nicolas.fr \<nicolas.leclercq@synchrotron-soleil.fr\> wrote:
> > 
> > Hi all,  
> > The hover and crosshair tools are enabled by default when added to the toolbar.  
> > I'd like them to be available but disabled by default - i.e. not active when the plot is created.  
> > There's nos equivalent to active\_drag, active\_scroll, or active\_tap.  
> > Is there a trick to achieve what I would like to do?  
> > Thanks for your help.  
> > Nicolas
> > 
> > --  
> > 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/4811fed8-4eec-4d09-9c4e-40c43139d093%40continuum.io\](https://groups.google.com/a/continuum.io/d/msgid/bokeh/4811fed8-4eec-4d09-9c4e-40c43139d093%40continuum.io%5C).  
> > For more options, visit [https://groups.google.com/a/continuum.io/d/optout\](https://groups.google.com/a/continuum.io/d/optout%5C).

---

<div class="post-metadata">

**Author:** ![nicolas.fr](https://discourse.bokeh.org/letter_avatar_proxy/v4/letter/n/13edae/32.png) [@nicolas.fr](https://discourse.bokeh.org/u/nicolas.fr)\
**Post date:** [March 17, 2017, 3:50pm UTC](https://discourse.bokeh.org/t/how-to-disable-hover-tool-programmatically/2002/3 "2017-03-17T15:50:08Z")

</div>

Done: [Provide an API to disable the hover tool programmatically · Issue #6004 · bokeh/bokeh · GitHub](https://github.com/bokeh/bokeh/issues/6004)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads.bokeh.org/original/2X/1/14eb24f9e10e4e9b78e3f10f66c04ffa96446e5a.svg) [@system](https://discourse.bokeh.org/u/system)\
**Post date:** [July 21, 2021, 9:11pm UTC](https://discourse.bokeh.org/t/how-to-disable-hover-tool-programmatically/2002/4 "2021-07-21T21:11:18Z")

</div>


