I have a subplot with 4 lines.
I display the legend.
I can remove a line easily with something like del(self.ax.lines[n]).
But how can I remove the line in the legend ?
I found that I can remove all the lines, add news ones, but all the
lines (new and deleted) remain in the legend.
thanks for helping