holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.66k stars 396 forks source link

Fix datashader example in 16-Streaming_Data.ipynb #6303

Closed Zentrik closed 5 days ago

Zentrik commented 6 days ago

This change stops from holoviews.operation.datashader import datashade from erroring.

Also, it seems quite odd to me specify streams without RangeXY as that prevents datashader from rerendering the plot when zooming in. If that can't be made to work, I think this example should be removed. https://github.com/holoviz/holoviews/blob/e5f7aede7a58902677eb995b8fd67c54ae9ae3ab/examples/user_guide/16-Streaming_Data.ipynb#L541

Zentrik commented 5 days ago

I think I was just mistaken, it seems to work fine. I probably confused having to install datashader for having to import it.