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.

Diagnostics are not compatible with new versions of Bokeh

See original GitHub issue
import pandas as pd
import numpy as np
from dask.diagnostics import Profiler, ResourceProfiler, visualize
from dask import delayed, compute
@delayed
def return_df():
    return pd.DataFrame(np.random.randn(50, 4), columns=list('ABCD'))
df = return_df()
with Profiler() as prof, ResourceProfiler(dt=0.1) as rprof:
    _ = compute(df)
visualize([prof, rprof])
badbokeh

This is with bokeh versions: 0.12.7 and 0.12.6 dask version: 0.15.2

But when I downgrade bokeh to 0.12.3 (which I guessed by searching bokeh in the dask repository 😃), the diagnostic visualizations are working fine.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jcristcommented, Oct 16, 2017

This is now fixed in the master branch:

pip install -U git+https://github.com/dask/dask.git

0reactions
ek-nathcommented, Oct 22, 2017

Confirming that this issue is fixed. Thanks @jcrist

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django v4 not compatible with Bokeh - Community Support
I am struggling with Django v4 and Bokeh 2.4.2 Some help please community ... You need to provide details, because the answer is...
Read more >
Bokeh plot not showing in Jupyter. Only says "Loading ...
Bokeh used to work fine for me. It just stopped working this week. I get the same behavior on FireFox and Chrome on...
Read more >
About genuine iPhone cameras - Apple Support
A nongenuine camera might cause compatibility or performance issues. For example, an issue might arise after an iOS software update that ...
Read more >
Dask Release 0.13.0
You can install new versions using Conda or Pip ... optimizing scheduler performance we built several new visual diagnostics using Bokeh.
Read more >
Fix Bluetooth problems in Windows - Microsoft Support
If you're setting up a new device and Bluetooth is missing, ... You'll see “Not connected” if your Windows 11 device isn't connected...
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