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.

Dashboard is wonky with bokeh 3

See original GitHub issue

With bokeh 3.0.2, the task stream doesn’t show up, nor do the ‘tasks processing’ bars. (I’ve more commonly seen that a few tasks intermittently show up on the task stream, but most are missing. The ‘tasks processing’ bars always seem to be broken.)

bokeh-3

After pip install 'bokeh<3':

bokeh-2_4_3

In [1]: import distributed

In [2]: import dask.array as da

In [3]: client = distributed.Client()

In [4]: da.random.random(200_000, chunks=100).sum().compute()

I see this with both macOS and linux running the scheduler, both Chrome and Safari as the browser.

Environment:

  • Distributed version: 176a84cb2bb86d6c9fc1507fbceccd63178be260, or 2022.11.0
  • Python version: 3.9.1
  • Operating System: macOS
  • Install method (conda, pip, source): source

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

0reactions
gjoseph92commented, Nov 17, 2022

we can’t 100% prevent users from installing bokeh=3 in all cases

Agreed, I don’t think we can do anything about that. I tried experimenting with setting bounds on optional dependencies, but unsurprisingly pip doesn’t care about them unless you’re installing the option.

Mostly having dask[complete] and conda install dask give you the right thing seems like the primary concern right now. I’m happy to open some PRs adding the pin back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Financial Dashboards with Bokeh and Python - YouTube
In this video we merge together the usage of Bokeh and yfinance by creating a financial dashboard.
Read more >
Interactive Data Visualization in Python With Bokeh
This Python tutorial will get you up and running with Bokeh, using examples and a real-world dataset. You'll learn how to visualize your...
Read more >
Data Visualization with Bokeh in Python, Part III: Making a ...
Data Visualization with Bokeh in Python, Part III: Making a Complete Dashboard. Creating an interactive visualization application in Bokeh.
Read more >
Allow `bokeh=3` by jrbourbeau · Pull Request #5648 - GitHub
I took a brief look through the dashboard codebase and didn't see anywhere where the DOM ids are explicitly used, so I think...
Read more >
Building Dashboards Using Bokeh - CODE Magazine
Here's what you'll build for your dashboard: A dashboard containing three charts: A stacked bar chart showing the number of males and females ......
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