☰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

Hovertool flickering when using with vbar

Community Support
wakandan1
wakandan1

Attached is the video. Basically I’m drawing candle stick charts with segments and vbar on 1 figure and a bunch of indicators on couple of other figures. The problem is when adding tooltip to vbar in general: when hover on any vbar, other line/scatter flickers, but not OTHER VBAR in other figures. The code to add the tooltip is very simple

    def set_tooltips(fig, tooltips=(), vline=True, renderers=()):
        tooltips = list(tooltips)
        renderers = list(renderers)

        if is_datetime_index:
            formatters = {"@datetime": "datetime"}
            tooltips = [("Date", "@datetime{%c}")] + tooltips
        else:
            formatters = {}
            tooltips = [("#", "@index")] + tooltips
        fig.add_tools(
            HoverTool(
                point_policy="follow_mouse",
                renderers=renderers,
                formatters=formatters,
                tooltips=tooltips,
                mode="vline" if vline else "mouse",
            )
        )

I’m a new user so I can’t attach the video here, so sorry.

⌁   Link to post
Bryan
Bryan

Have not seen that before, so we would definitely need an MRE to run and directly investigate. Also, please always, always provide your specific version information with all questions.

⌁   Link to post

End of archived discussion · Replies are disabled