### Description

Close #2226

Refactors matplotlib tests:

- Prevent dangling selenium webdriver after test
- For asynchronous tests, use promise-await instead of selenium WebDriverWait
- Enable xfailed tests

<!--
- [ ] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [ ] Add / update tests
- [ ] Add new / update outdated documentation
!-->

Refactor matplotlib tests. ### Description

Close #2226

Refactors matplotlib tests:

- Prevent dangling selenium webdriver after test
- For asynchronous tests, use promise-await instead of selenium WebDriverWait
- Enable xfailed tests

<!--
- [ ] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry
- [ ] Add / update tests
- [ ] Add new / update outdated documentation
!-->

(packages-in-pyodide)=

# Packages built in Pyodide

The list of prebuilt Python packages in the current version of Pyodide.
These packages can be loaded through {any}`pyodide.loadPackage` or {any}`micropip.install`.
See {ref}`loading_packages` for information about loading packages.
Note that in addition to this list, pure Python packages with wheels can be loaded
directly from PyPI with {any}`micropip.install`.

```{eval-rst}
.. pyodide-package-list :: packages
```

(packages-in-pyodide)=

# Packages built in Pyodide

The list of prebuilt Python packages in the current version of Pyodide.
These packages can be loaded through {any}`pyodide.loadPackage` or {any}`micropip.install`.
See {ref}`loading_packages` for information about loading packages.
Note that in addition to this list, pure Python packages with wheels can be loaded
directly from PyPI with {any}`micropip.install`.

```{eval-rst}
.. pyodide-package-list :: packages
```
