I have the following dataset:
x = [0, 1, 2, 3, 4] y = [ [0, 1, 2, 3, 4], [5, 6, 7, 8, 9], [9, 8, 7, 6, 5] ]
Now I plot it with:
I used the following to show labels for a dataframe without using the dataframe plot:
lines_ = plot(df) legend(lines_, df.columns) # df.columns is a list of labels