I’m trying to plot live-data coming in from sensors, but I want to make the x-axis move as new data comes in, to only visualise the last 200 (more or less) points.
I found some ways using ‘cursession()’, but that feature seems depreciated in 0.12.1? Is there any way to make the plot auto-pan?
I included my current code.
PlotData.py (842 Bytes)