title: Set number of lags in Python pandas autocorrelation_plot
body: <p>The code</p>
  
  <pre><code>import numpy as np
  from pandas.tools.plotting import autocorrelation_plot
  import matplotlib.pyplot as plt
  nobs = 10000
  xx = np.random.normal(size=nobs)
  autocorrelation_plot(xx)
  plt.show()
  </code></pre>
  
  <p>plots the autocorrelations of xx, but it plots all 10000 lags. How do I plot only the first 10?</p>
  
  <p>The function autocorrelation_plot starts as follows:</p>
  
  <pre><code>def autocorrelation_plot(series, ax=None, **kwds):
      """Autocorrelation plot for time series.
      Parameters:
      -----------
      series: Time series
      ax: Matplotlib axis object, optional
      kwds : keywords
          Options to pass to matplotlib plotting method
  </code></pre>
  
  <p>Is there a way to set the number of lags plotted using the **kwds argument?</p>