how to plot a gradient color line in matplotlib?,"plt.plot(x[i:i + 2], y[i:i + 2])"