I’m looking for method or something, that will allow me to remove one thing (I know that cla() will clear whole), for example line from axis, something like:
x = self.plt.plot([5*a,0],[0,5*b], color = 'black')
self.plt.draw()
#here I want to to remove x, calculate new position and draw again
Everything is beeing done in interactive mode.
But if you only want to change the element, you might use
set_ydata(...)followed bydraw()instead.