hvplot icon indicating copy to clipboard operation
hvplot copied to clipboard

Streamz example on home page not working

Open MarcSkovMadsen opened this issue 3 years ago • 2 comments

hvplot=0.8.1, streamz=0.6.4

I was trying out the Streamz example on the homepage https://hvplot.holoviz.org/index.html.

Its not working

image

And I believe the code could never correspond to what is in the image, which I would expect as a user.

image

import hvplot.streamz  # noqa
from streamz.dataframe import Random

df_streamz = Random(interval='200ms', freq='50ms')
df_streamz.hvplot()

MarcSkovMadsen avatar Aug 28 '22 17:08 MarcSkovMadsen

good catch.

@maximlt, what is the code you used for this plot? I'm happy to update the docs if you'd like me to.

It's probably something like df_streamz.hvplot() + df_streamz.hvplot('x', 'z', kind='hexbin', cmap='viridis')... and with an increased freq given the number of points in your hexbin?

droumis avatar Sep 13 '22 13:09 droumis

I took it from the [getting started[(https://hvplot.holoviz.org/getting_started/hvplot.html) but forgot to update the code, I'll fix that.

maximlt avatar Sep 19 '22 16:09 maximlt