This works:
plt.plot(x, y, label="_nolegend_")
source
Comment
Save my name, email, and website in this browser for the next time I comment.