title: Python Statsmodels - AttributeError: 'ARMAResults' object has no attribute 'plot_predict'
body: <p>I am trying to run the following Statsmodels example from <a href="http://statsmodels.sourceforge.net/devel/examples/notebooks/generated/tsa_arma_0.html" rel="nofollow">http://statsmodels.sourceforge.net/devel/examples/notebooks/generated/tsa_arma_0.html</a>. </p>
  
  <pre><code>fig, ax = plt.subplots(figsize=(12, 8))
  ax = dta.ix['1950':].plot(ax=ax)
  fig = arma_mod30.plot_predict('1990', '2012', dynamic=True, ax=ax, plot_insample=False)
  </code></pre>
  
  <p>Running the code above gives the error message below. Even after upgrading to Statsmodels 6, I am getting the same error. </p>
  
  <pre><code>    AttributeError                            Traceback (most recent call last)
      &lt;ipython-input-69-2a5da9c756f0&gt; in &lt;module&gt;()
            1 fig, ax = plt.subplots(figsize=(12, 8))
            2 ax = dta.ix['1950':].plot(ax=ax)
      ----&gt; 3 fig = arma_mod30.plot_predict('1990', '2012', dynamic=True, ax=ax,         plot_insample=False)
  
  C:\Anaconda\lib\site-packages\statsmodels\base\wrapper.pyc in __getattribute__(self, attr)
       33             pass
       34 
  ---&gt; 35         obj = getattr(results, attr)
       36         data = results.model.data
       37         how = self._wrap_attrs.get(attr)
  
  AttributeError: 'ARMAResults' object has no attribute 'plot_predict'
  </code></pre>
  
  <p>Any suggestions?</p>
  
  <p>This issue has been resolved after following the below comment.  Thanks.</p>