holoviews: holoviews (fresh) jupyterlab extension problem
not sure if it’s me or holoviews:
- this type of example doesn’t seem work (yet) in Jupyterlab:
# Holoviews
# for more example, see http://holoviews.org/Tutorials/index.html
import numpy as np
import holoviews as hv
hv.extension('matplotlib')
dots = np.linspace(-0.45, 0.45, 11)
fractal = hv.Image(image)
layouts = {y: (fractal * hv.Points(fractal.sample([(i,y) for i in dots])) +
fractal.sample(y=y) )
for y in np.linspace(0, 0.45,11)}
hv.HoloMap(layouts, kdims=['Y']).collate().cols(2)
giving:
but the ultra-tricky one … does ???
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 66 (62 by maintainers)
it works !
@philippjfr that was the problem… now its working. Thank you!
@crlag Could you check which versions of holoviews, bokeh and jupyterlab_bokeh you have and report those here? Currently this is required:
One you’ve done that you should have bokeh 0.12.15devX, holoviews 1.10.0a2 and jupyterlab_holoviews 0.3.2. There’s also some CSS improvements that are only available on HoloViews master, but that setup should be enough to get things working.
tried it too: worked for both matplotlib and bokeh.