question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Sep 27, 2018

@mattpap the example upon which this is based, simply hides the toolbar without altering the layout. That is expressly all that is wanted or being asked for. The toolbar does not need to be in the center layout, it just needs to allocate space as if it were going to draw, but then not actually draw (unless the cursor is inside w hit region).

For that matter, we could even flip things: we could have a div on top of the toolbar that fades to and from transparent (instead of having the toolbar itself fade to and from opaque)

0reactions
jsignellcommented, Sep 28, 2018

@mattpap, are you worried about how the tool bar should show up when the mouse is over the plot? Is it hard for an event from the center layout to have an effect in the toolbar?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Hide or Unhide the Taskbar in Windows 10 (Auto-Hide)
Open Settings. Press the Start button, then click the Settings cog, above the power button. · Click 'Personalization' · Turn auto hide taskbar...
Read more >
How to Hide the Taskbar in Windows 10 | Tom's Hardware
1. Right-click an empty spot on the taskbar. This will open a menu of options. · 2. Choose Taskbar settings from the menu....
Read more >
How to Auto Hide Taskbar in Windows 11/10
Right-click on the taskbar and unlock the taskbar; Again right-click and select Taskbar Properties; Under Taskbar tab, check the Auto-hide the ...
Read more >
How to auto-hide the taskbar in Windows 10
How to auto-hide Windows 10's taskbar. Just follow these simple steps: Right-click on ...
Read more >
How to Hide the Taskbar on Windows 10 - How-To Geek
Automatically Hide the Taskbar Using Command Prompt. If you're feeling like a hacker, you can also toggle the auto-hide option between on and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found