prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add `Matplotlib` framework classifier to `setup.py`
  `Matplotlib` now has a [trove classifier on pypi](https://twitter.com/matplotlib/status/1235216347925286913). We can add:
  
  ```python
  classifiers = [
      'Framework :: Matplotlib',
      ]
  ```
  to `arviz`'s `setup.py` to acknowledge that it is part of `Matplotlib` ecosystem.
  
  I believe that `arviz` currently doesn't have any classifiers ([there are many!](https://pypi.org/classifiers/)). We could add something like the following to `setup.py`:
  
  ```python
  classifiers = [
      'Framework :: Matplotlib',
      'Intended Audience :: Science/Research',
      'License :: OSI Approved :: Apache Software License'
      'Programming Language :: Python',
      'Programming Language :: Python :: 3',
      'Programming Language :: Python :: 3.5',
      'Programming Language :: Python :: 3.6',
      'Programming Language :: Python :: 3.7',
      'Topic :: Scientific/Engineering :: Visualization',
      ]
  ```
  
  I'm not sure if you would say if `arviz` is:
  ```
  'Development Status :: 5 - Production/Stable',
  ```
  or
  ```
  'Development Status :: 4 - Beta',
  ```
  
  There may be thoughts on other classifiers to add, but I can quickly put together a PR for this
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 import codecs
  2 import os
  3 import re
  4 
  5 import setuptools
  6 from setuptools import setup, find_packages
  7 from setuptools.command.install import install
  8 from setuptools.command.develop import develop
  9 
  10 
  11 PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))
  12 REQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, "requirements.txt")
  13 REQUIREMENTS_OPTIONAL_FILE = os.path.join(PROJECT_ROOT, "requirements-optional.txt")
  14 REQUIREMENTS_DEV_FILE = os.path.join(PROJECT_ROOT, "requirements-dev.txt")
  15 README_FILE = os.path.join(PROJECT_ROOT, "README.md")
  16 VERSION_FILE = os.path.join(PROJECT_ROOT, "arviz", "__init__.py")
  17 
  18 
  19 def get_requirements():
  20     with codecs.open(REQUIREMENTS_FILE) as buff:
  21         return buff.read().splitlines()
  22 
  23 
  24 def get_requirements_dev():
  25     with codecs.open(REQUIREMENTS_DEV_FILE) as buff:
  26         return buff.read().splitlines()
  27 
  28 
  29 def get_requirements_optional():
  30     with codecs.open(REQUIREMENTS_OPTIONAL_FILE) as buff:
  31         return buff.read().splitlines()
  32 
  33 
  34 def get_long_description():
  35     with codecs.open(README_FILE, "rt") as buff:
  36         return buff.read()
  37 
  38 
  39 def get_version():
  40     lines = open(VERSION_FILE, "rt").readlines()
  41     version_regex = r"^__version__ = ['\"]([^'\"]*)['\"]"
  42     for line in lines:
  43         mo = re.search(version_regex, line, re.M)
  44         if mo:
  45             return mo.group(1)
  46     raise RuntimeError("Unable to find version in %s." % (VERSION_FILE,))
  47 
  48 
  49 setup(
  50     name="arviz",
  51     license="Apache-2.0",
  52     version=get_version(),
  53     description="Exploratory analysis of Bayesian models",
  54     author="ArviZ Developers",
  55     url="http://github.com/arviz-devs/arviz",
  56     packages=find_packages(),
  57     install_requires=get_requirements(),
  58     extras_require=dict(all=get_requirements_optional()),  # test=get_requirements_dev(),
  59     long_description=get_long_description(),
  60     long_description_content_type="text/markdown",
  61     include_package_data=True,
  62 )
  63
  ```
  --- 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/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -59,4 +59,19 @@
       long_description=get_long_description(),
       long_description_content_type="text/markdown",
       include_package_data=True,
  +    classifiers=[
  +        "Development Status :: 4 - Beta",
  +        "Framework :: Matplotlib",
  +        "Intended Audience :: Science/Research",
  +        "Intended Audience :: Education",
  +        "License :: OSI Approved :: Apache Software License",
  +        "Programming Language :: Python",
  +        "Programming Language :: Python :: 3",
  +        "Programming Language :: Python :: 3.6",
  +        "Programming Language :: Python :: 3.7",
  +        "Programming Language :: Python :: 3.8",
  +        "Topic :: Scientific/Engineering",
  +        "Topic :: Scientific/Engineering :: Visualization",
  +        "Topic :: Scientific/Engineering :: Mathematics",
  +    ],
   )
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -59,4 +59,19 @@\n     long_description=get_long_description(),\n     long_description_content_type=\"text/markdown\",\n     include_package_data=True,\n+    classifiers=[\n+        \"Development Status :: 4 - Beta\",\n+        \"Framework :: Matplotlib\",\n+        \"Intended Audience :: Science/Research\",\n+        \"Intended Audience :: Education\",\n+        \"License :: OSI Approved :: Apache Software License\",\n+        \"Programming Language :: Python\",\n+        \"Programming Language :: Python :: 3\",\n+        \"Programming Language :: Python :: 3.6\",\n+        \"Programming Language :: Python :: 3.7\",\n+        \"Programming Language :: Python :: 3.8\",\n+        \"Topic :: Scientific/Engineering\",\n+        \"Topic :: Scientific/Engineering :: Visualization\",\n+        \"Topic :: Scientific/Engineering :: Mathematics\",\n+    ],\n )\n", "issue": "Add `Matplotlib` framework classifier to `setup.py`\n`Matplotlib` now has a [trove classifier on pypi](https://twitter.com/matplotlib/status/1235216347925286913). We can add:\r\n\r\n```python\r\nclassifiers = [\r\n    'Framework :: Matplotlib',\r\n    ]\r\n```\r\nto `arviz`'s `setup.py` to acknowledge that it is part of `Matplotlib` ecosystem.\r\n\r\nI believe that `arviz` currently doesn't have any classifiers ([there are many!](https://pypi.org/classifiers/)). We could add something like the following to `setup.py`:\r\n\r\n```python\r\nclassifiers = [\r\n    'Framework :: Matplotlib',\r\n    'Intended Audience :: Science/Research',\r\n    'License :: OSI Approved :: Apache Software License'\r\n    'Programming Language :: Python',\r\n    'Programming Language :: Python :: 3',\r\n    'Programming Language :: Python :: 3.5',\r\n    'Programming Language :: Python :: 3.6',\r\n    'Programming Language :: Python :: 3.7',\r\n    'Topic :: Scientific/Engineering :: Visualization',\r\n    ]\r\n```\r\n\r\nI'm not sure if you would say if `arviz` is:\r\n```\r\n'Development Status :: 5 - Production/Stable',\r\n```\r\nor\r\n```\r\n'Development Status :: 4 - Beta',\r\n```\r\n\r\nThere may be thoughts on other classifiers to add, but I can quickly put together a PR for this\n", "before_files": [{"content": "import codecs\nimport os\nimport re\n\nimport setuptools\nfrom setuptools import setup, find_packages\nfrom setuptools.command.install import install\nfrom setuptools.command.develop import develop\n\n\nPROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))\nREQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, \"requirements.txt\")\nREQUIREMENTS_OPTIONAL_FILE = os.path.join(PROJECT_ROOT, \"requirements-optional.txt\")\nREQUIREMENTS_DEV_FILE = os.path.join(PROJECT_ROOT, \"requirements-dev.txt\")\nREADME_FILE = os.path.join(PROJECT_ROOT, \"README.md\")\nVERSION_FILE = os.path.join(PROJECT_ROOT, \"arviz\", \"__init__.py\")\n\n\ndef get_requirements():\n    with codecs.open(REQUIREMENTS_FILE) as buff:\n        return buff.read().splitlines()\n\n\ndef get_requirements_dev():\n    with codecs.open(REQUIREMENTS_DEV_FILE) as buff:\n        return buff.read().splitlines()\n\n\ndef get_requirements_optional():\n    with codecs.open(REQUIREMENTS_OPTIONAL_FILE) as buff:\n        return buff.read().splitlines()\n\n\ndef get_long_description():\n    with codecs.open(README_FILE, \"rt\") as buff:\n        return buff.read()\n\n\ndef get_version():\n    lines = open(VERSION_FILE, \"rt\").readlines()\n    version_regex = r\"^__version__ = ['\\\"]([^'\\\"]*)['\\\"]\"\n    for line in lines:\n        mo = re.search(version_regex, line, re.M)\n        if mo:\n            return mo.group(1)\n    raise RuntimeError(\"Unable to find version in %s.\" % (VERSION_FILE,))\n\n\nsetup(\n    name=\"arviz\",\n    license=\"Apache-2.0\",\n    version=get_version(),\n    description=\"Exploratory analysis of Bayesian models\",\n    author=\"ArviZ Developers\",\n    url=\"http://github.com/arviz-devs/arviz\",\n    packages=find_packages(),\n    install_requires=get_requirements(),\n    extras_require=dict(all=get_requirements_optional()),  # test=get_requirements_dev(),\n    long_description=get_long_description(),\n    long_description_content_type=\"text/markdown\",\n    include_package_data=True,\n)\n", "path": "setup.py"}], "after_files": [{"content": "import codecs\nimport os\nimport re\n\nimport setuptools\nfrom setuptools import setup, find_packages\nfrom setuptools.command.install import install\nfrom setuptools.command.develop import develop\n\n\nPROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))\nREQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, \"requirements.txt\")\nREQUIREMENTS_OPTIONAL_FILE = os.path.join(PROJECT_ROOT, \"requirements-optional.txt\")\nREQUIREMENTS_DEV_FILE = os.path.join(PROJECT_ROOT, \"requirements-dev.txt\")\nREADME_FILE = os.path.join(PROJECT_ROOT, \"README.md\")\nVERSION_FILE = os.path.join(PROJECT_ROOT, \"arviz\", \"__init__.py\")\n\n\ndef get_requirements():\n    with codecs.open(REQUIREMENTS_FILE) as buff:\n        return buff.read().splitlines()\n\n\ndef get_requirements_dev():\n    with codecs.open(REQUIREMENTS_DEV_FILE) as buff:\n        return buff.read().splitlines()\n\n\ndef get_requirements_optional():\n    with codecs.open(REQUIREMENTS_OPTIONAL_FILE) as buff:\n        return buff.read().splitlines()\n\n\ndef get_long_description():\n    with codecs.open(README_FILE, \"rt\") as buff:\n        return buff.read()\n\n\ndef get_version():\n    lines = open(VERSION_FILE, \"rt\").readlines()\n    version_regex = r\"^__version__ = ['\\\"]([^'\\\"]*)['\\\"]\"\n    for line in lines:\n        mo = re.search(version_regex, line, re.M)\n        if mo:\n            return mo.group(1)\n    raise RuntimeError(\"Unable to find version in %s.\" % (VERSION_FILE,))\n\n\nsetup(\n    name=\"arviz\",\n    license=\"Apache-2.0\",\n    version=get_version(),\n    description=\"Exploratory analysis of Bayesian models\",\n    author=\"ArviZ Developers\",\n    url=\"http://github.com/arviz-devs/arviz\",\n    packages=find_packages(),\n    install_requires=get_requirements(),\n    extras_require=dict(all=get_requirements_optional()),  # test=get_requirements_dev(),\n    long_description=get_long_description(),\n    long_description_content_type=\"text/markdown\",\n    include_package_data=True,\n    classifiers=[\n        \"Development Status :: 4 - Beta\",\n        \"Framework :: Matplotlib\",\n        \"Intended Audience :: Science/Research\",\n        \"Intended Audience :: Education\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Topic :: Scientific/Engineering\",\n        \"Topic :: Scientific/Engineering :: Visualization\",\n        \"Topic :: Scientific/Engineering :: Mathematics\",\n    ],\n)\n", "path": "setup.py"}]}