Ajouter des légendes à y parcelles matplotlib

plt.plot(xs, y_1s, "-b", label="x^2")

plt.plot(xs, y_2s, "-g", label = "2x + 1")


plt.legend()


Nice Narwhal