I have 3 lists to plot as curves. But every time I run the same plt lines, even with the ax.legend(loc=\'lower right\', handles=[line1, line2, line3]), these 3
ax.legend(loc=\'lower right\', handles=[line1, line2, line3])