matplotlib.pyplot is a module; the function to plot is matplotlib.pyplot.plot. Thus, you should do
plt.plot(cplr)
plt.show()
A good place to learn more about this would be to read a matplotlib tutorial.
matplotlib.pyplot is a module; the function to plot is matplotlib.pyplot.plot. Thus, you should do
plt.plot(cplr)
plt.show()
A good place to learn more about this would be to read a matplotlib tutorial.