Hi guys,
I’m struggling to understand some of the code for to stram data from a python script to the plotly site.
I followed the article: https://plot.ly/raspberry-pi/tmp36-temperature-tutorial/
Specifically what I cannot understand is the following line of code:
url = py.plot([
{
‘x’: [], ‘y’: [], ‘type’: ‘scatter’,
‘stream’: {
‘token’: plotly_user_config[‘plotly_streaming_tokens’][0],
‘maxpoints’: 200
}
}], filename=‘Raspberry Pi Streaming Example Values’)
Can someone break this down and explain excatly what is going on with the above line of code?
Much appreciated,
Paul