datashader icon indicating copy to clipboard operation
datashader copied to clipboard

Datashader + Bokeh callback not working in Jupyter Lab when using Holoviews layout

Open benvddriessche opened this issue 8 years ago • 1 comments

Plotting data in Holoviews + Datashader + Bokeh works fine both in Jupyter Notebook and Jupyter Lab when rendering a single plot with a single or multiple overlaid datasets.

However, when constructing a layout (e.g. (datashade(x) + datashade(y)).cols(1) ), Datashader no longer updates the plots correctly. It looks like the callback to update the image as a function of zoom level is no longer functional. This issue only occurs in Jupyter Lab.

I got Jupyter Lab to show Bokeh output in the first place with:

conda install -c bokeh/label/dev bokeh
conda install -c ioam/label/dev holoview

Relevant conda packages: bokeh v0.12.15rc2 datashader v0.6.5 holoviews v1.10.0a2 jupyterlab v0.31.12

Relevant Jupyter Lab extensions: pyviz/jupyterlab_holoviews v0.3.2 jupyterlab_bokeh v0.4.0

benvddriessche avatar Apr 03 '18 12:04 benvddriessche

Opened the corresponding issue in holoviews and submitted a PR to fix it here: https://github.com/ioam/holoviews/pull/2511

philippjfr avatar Apr 03 '18 14:04 philippjfr