The data is such that the x values for stream 1 (user 1 stream in the screenshot) appear ahead of those of stream 2.
As the graph updates, attempting to connect the lines in the graph there is a bug because the lines go backwards, seems to do with the way the graph is scaling up.
I think the problem is that your strings are not recognized as dates and so they are being treated as categorical as categorical. Try passing datetime.datetime objects as the x and y to stream.write. You can convert your strings to datetime objects using the datetime.datetime.strptime static method (See https://docs.python.org/3/library/datetime.html#datetime.datetime.strptime).
Hi @jmmease ,
I am having some trouble with streaming to a Map. There was a geo-streaming tutorial I followed here: https://plot.ly/python/geo-streaming/
but it seems to have been taken down.
So my question is:
1 ) Is streaming still supported in Python for maps?
2) Are there any updated samples?
I read the notice about Streaming no longer being supported in Chart Studio but I do not use Dash or Chart studio. I read that Dash is βa python framework for web appsβ and I do not have a web app, Iβm only using the plotly Python API to visualize data in Jupyter notebooks.
So I am confused, would I still need to use Dash for a notebook?
Ok, if youβre wanting to view everything in the Jupyter notebook then another approach is to use the plotly.graph_objs.FigureWidget ipywidget. The basic idea with FigureWidget is that is displays itself in the notebook (donβt use iplot), and then updates made to the figure object are automatically synced to the figure view.