please how can i correct the error
As you can see, type of variable c is tuple. You need to pass the sequence to the plot function. Use plt.plot(c[0])