Binary package “python3-pytest-mpl” in ubuntu jammy

pytest plugin for Matplotlib image comparison in Python 3

 Matplotlib includes a number of test utilities and decorators, but these are
 geared towards the nose testing framework. Pytest-mpl makes it easy to compare
 figures produced by tests to reference images when using pytest.
 .
 This package provides the pytest plugin for Python 3.