I need to do what has been explained for MATLAB here: How to show legend for only a specific subset of curves in the plotting?
But using Python instead of MATLAB.
Brief summary of my goal: when plotting for example three curves in the following way
from matplotlib import pyplot as plt
a=[1,2,3]
b=[4,5,6]
c=[7,8,9]
# these are the curves
plt.plot(a)
plt.plot(b)
plt.plot(c)
plt.legend(['a','nothing','c'])
plt.show()
Instead of the word "nothing", I would like not to have anything there.