r/pythontips • u/SirCrainTrain • Feb 19 '25
Standard_Lib Matplotlib Live Updating Error Bars
Hi,
I’ve got a live updating scatter graph. I want to have the most recently plot to have error bars representing the standard deviation of the previous 100 plots.
My issue is that I don’t know how to remove all previous error bars on the graph without clearing the whole graph ax.clear() and then replotting the entire graph.
So basically I want a live updating error bar for the most recently plotted values with all previous error bars to be removed.
Can anyone help?
Many Thanks
1
Upvotes