Modified method to update plot lines on expert app
Due to a new Matplotlib
release, the pipeline was failing with a test on the expert app.
The method to update the plots for the comparison, using ax.lines.clear()
is deprecated, and remove()
should be used instead.
This MR fixes this error.