Reputation: 17107
I am using matplotlib acorr function to plot autocrrrelation, but I don't want the negative lags. How can I prevent the negative lags from appearing in the plot? https://pythontic.com/visualization/charts/autocorrelation
Upvotes: 0
Views: 888
Reputation: 40737
Couldn't you simply adjust the limits of your x-axis to only show the positive values
plt.xlim([0,<whaterver is the highest value])
Upvotes: 1