livegraph

Unable to refresh plt.axhline() in matplotlib

Unable to refresh plt.axhline() in matplotlib Question: I’m just trying to make a live graph using matplotlib.However I couldn’t find a way to draw-remove-redraw axhline(). My aim is to show a horizontal line of newest value of Y axis values and of course remove the recent horizontal line. ` import matplotlib.pyplot as plt import matplotlib.animation …

Total answers: 1