prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  move graphics.tsa to tsa.graphics
  Makes more sense to me to keep the tsa stuff under the tsa namespace. Might need to deprecate functions that aren't new. 
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `statsmodels/tsa/api.py`
  Content:
  ```
  1 from .ar_model import AR
  2 from .arima_model import ARMA, ARIMA
  3 import vector_ar as var
  4 from .vector_ar.var_model import VAR
  5 from .vector_ar.svar_model import SVAR
  6 from .vector_ar.dynamic import DynamicVAR
  7 import filters
  8 import tsatools
  9 from .tsatools import (add_trend, detrend, lagmat, lagmat2ds, add_lag)
  10 import interp
  11 import stattools
  12 from .stattools import *
  13 from .base import datetools
  14
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/statsmodels/tsa/api.py b/statsmodels/tsa/api.py
  --- a/statsmodels/tsa/api.py
  +++ b/statsmodels/tsa/api.py
  @@ -11,3 +11,4 @@
   import stattools
   from .stattools import *
   from .base import datetools
  +from ..graphics import tsaplots as graphics
  
verification_info: {"golden_diff": "diff --git a/statsmodels/tsa/api.py b/statsmodels/tsa/api.py\n--- a/statsmodels/tsa/api.py\n+++ b/statsmodels/tsa/api.py\n@@ -11,3 +11,4 @@\n import stattools\n from .stattools import *\n from .base import datetools\n+from ..graphics import tsaplots as graphics\n", "issue": "move graphics.tsa to tsa.graphics\nMakes more sense to me to keep the tsa stuff under the tsa namespace. Might need to deprecate functions that aren't new. \n\n", "before_files": [{"content": "from .ar_model import AR\nfrom .arima_model import ARMA, ARIMA\nimport vector_ar as var\nfrom .vector_ar.var_model import VAR\nfrom .vector_ar.svar_model import SVAR\nfrom .vector_ar.dynamic import DynamicVAR\nimport filters\nimport tsatools\nfrom .tsatools import (add_trend, detrend, lagmat, lagmat2ds, add_lag)\nimport interp\nimport stattools\nfrom .stattools import *\nfrom .base import datetools\n", "path": "statsmodels/tsa/api.py"}], "after_files": [{"content": "from .ar_model import AR\nfrom .arima_model import ARMA, ARIMA\nimport vector_ar as var\nfrom .vector_ar.var_model import VAR\nfrom .vector_ar.svar_model import SVAR\nfrom .vector_ar.dynamic import DynamicVAR\nimport filters\nimport tsatools\nfrom .tsatools import (add_trend, detrend, lagmat, lagmat2ds, add_lag)\nimport interp\nimport stattools\nfrom .stattools import *\nfrom .base import datetools\nfrom ..graphics import tsaplots as graphics\n", "path": "statsmodels/tsa/api.py"}]}