holoviz / holoviz/hvplot

Interactive Datashader + Holoviews + Dask Plot does not Update in JupyterLab or Notebook

Open
#1,188 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

Since a few months I'm no more able to run properly Datashader introduction notebook:
https://datashader.org/getting_started/Introduction.html

Once the first display is done, datashader plot is no more updated in jupyterlab or jupyter notebook
Here is my running version with tljh:

~~~
jupyter --version
Selected Jupyter core packages...
IPython : 8.15.0
ipykernel : 6.25.2
ipywidgets : 8.1.1
jupyter_client : 8.3.1
jupyter_core : 5.3.2
jupyter_server : 2.7.3
jupyterlab : 4.0.6
nbclient : 0.8.0
nbconvert : 7.8.0
nbformat : 5.9.2
notebook : not installed
qtconsole : not installed
traitlets : 5.10.1
~~~

I still get the notebook version running properly (but not lab) in this configuration:

~~~
jupyter --version
Selected Jupyter core packages...
IPython : 8.10.0
ipykernel : 6.21.2
ipywidgets : 7.7.3
jupyter_client : 8.0.3
jupyter_core : 5.2.0
jupyter_server : 2.3.0
jupyterlab : 3.6.1
nbclient : 0.5.13
nbconvert : 6.5.3
nbformat : 5.7.3
notebook : 6.5.2
qtconsole : not installed
traitlets : 5.9.0
~~~

Here is how I create my Python environment:
~~~
mamba create --name TheEnv python=3.11 -y
mamba activate TheEnv
mamba install numpy pandas scipy scikit-learn matplotlib bokeh dask ipython ipykernel ipywidgets -y
mamba install nodejs ipyvolume -y
mamba install numba folium netcdf4 datashader xarray pytables h5py -y
mamba install -c plotly plotly -y
mamba install geocoder seaborn -y
mamba install graphviz python-graphviz -y
mamba install distributed ipympl jupyterlab geopandas -y
mamba install geoviews hvplot cartopy yt -y
~~~

I've also the issue with environments created by rapidsai or any other.

If you can help, I'll will be very pleased ! Thanks in advance !

Here is another notebook example with same issue.
[DatashaderIssue.ipynb.zip](https://github.com/holoviz/datashader/files/12754351/DatashaderIssue.ipynb.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.