Reputation: 154
following example of https://holoviews.org/user_guide/Gridded_Datasets.html
The following code does not show the last plot with the slider
import numpy as np
import holoviews as hv
from holoviews import opts
hv.extension('matplotlib')
dataset3d = hv.Dataset((range(3), range(5), range(7), np.random.randn(7, 5, 3)),
['x', 'y', 'z'], 'Value')
dataset3d.select(x=1).to(hv.Image, ['y', 'z'])
dataset3d.to(hv.Image, ['y', 'z'], 'Value', ['x'])
here is my configuration
jupyter 1.0.0 py_2 conda-forge
jupyter_client 6.1.2 py_0 conda-forge
jupyter_console 6.1.0 py_1 conda-forge
jupyter_core 4.6.3 py37hc8dfbb8_1 conda-forge
jupyterlab 2.0.1 py_0 conda-forge
jupyterlab_server 1.1.0 py_0 conda-forge
panel 0.9.3 py_0 conda-forge
holoviews 1.13.1 pyh9f0ad1d_0 conda-forge
Upvotes: 0
Views: 44
Reputation: 154
problem solved.
version for panel and holoviews in the conda-forge channel were the issue. see working configuration below.
jupyter 1.0.0 py_2 conda-forge
jupyter_client 6.1.2 py_0 conda-forge
jupyter_console 6.1.0 py_1 conda-forge
jupyter_core 4.6.3 py37hc8dfbb8_1 conda-forge
jupyterlab 2.0.1 py_0 conda-forge
jupyterlab_server 1.1.0 py_0 conda-forge
holoviews 1.13.2 py_0 pyviz
panel 0.9.4 py_0 pyviz
Upvotes: 1