Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

How to use the real-time streaming API?

I followed the official documentation of npm plotly on https://www.npmjs.com/package/plotly and used the live streaming example trying to make a real-time graph. However, I would always obtain a blank graph until I use the stream token to plot another graph. I was wondering if there is a way to solve that problem, thanks!