Nov-28-2020, 06:43 PM
It looks like you expect
plt
to be an object that has a plot()
method. But instead it's just a list. Possibly you are create plt incorrectly. Without seeing the code, we cannot guess.