Skip to content

Autohide toolbar #8284

Description

@jbednar

Right now, when a Bokeh plot has a toolbar, the toolbar is always visible. This helps people see the tools that are available, but it is distracting when one is primarily reading through a long document, looking at several plots and not wishing to interact with any one of them.

To support this usage, I'd prefer that the default behavior is that the tools are visible only when the mouse is actually inside the plot area, and otherwise they are silently hidden (which would then also apply on export, providing a cleaner exported figure). Presumably the tools could be set to be invisible (alpha=0) whenever the mouse is outside the plot area?

An implementation of this would be to add an option autohide to Toolbar, and once supported we could debate whether it should be True or False by default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions