0

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

Victor
  • 16,609
  • 71
  • 229
  • 409

1 Answers1

1

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])
Diziet Asahi
  • 38,379
  • 7
  • 60
  • 75