pyplot: show only first 3 lines in legend,plt.show()