Tambahkan Legenda ke Y Plot Matplotlib

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

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


plt.legend()


Nice Narwhal