[英]Holoviews Plotting Mutlidimensional Gridded Data
following example of https://holoviews.org/user_guide/Gridded_Datasets.html以下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
problem solved.问题解决了。
version for panel and holoviews in the conda-forge channel were the issue. conda-forge 频道中的面板和全息视图版本是问题所在。 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.