Need to check if any changes in the following PRs need to be taken into account here: * [MAINT: Deterministic SVG and PDF tests](https://github.com/matplotlib/matplotlib/pull/7748) * [MAINT: Refactor the converted-image cache](https://github.com/matplotlib/matplotlib/pull/7764)