Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 722 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 722 Bytes

plotly_websocket_example

Use Plotly(js) and Websockets to animate graphs and show realtime data

example

I used pywebsocket in order to test this

I've created a handler named send_graph which sends a moving sine-wave graph to the websocket

In order to make it work you need to install the pywebsocket Then you copy the send_graph_wsh.py file into pywebsocket/example/

Usage :

cd pywebsocket/mod_pywebsocket
python standalone.py -p 9998 -w ../example/

Then open the plot_graphs_from_websocket.html in your browser

More documenation Here in this blog post