Dodaj legendy do wykresów Y Matplotlib
plt.plot(xs, y_1s, "-b", label="x^2")
plt.plot(xs, y_2s, "-g", label = "2x + 1")
plt.legend()
Nice Narwhal
plt.plot(xs, y_1s, "-b", label="x^2")
plt.plot(xs, y_2s, "-g", label = "2x + 1")
plt.legend()