pytest-mpl icon indicating copy to clipboard operation
pytest-mpl copied to clipboard

A pytest plugin to facilitate image comparison for Matplotlib figures

Results 45 pytest-mpl issues
Sort by recently updated
recently updated
newest added

Hi, thanks for maintaining pytest-mpl. On nixpkgs we are seeing a few test failures after upgrading from 0.16.1 to 0.17.0 ``` pytest-mpl> FAILED tests/test_baseline_path.py::test_config[dir1-None-None-dir1-True] - AssertionError: assert {'passed': 0, 'skipped':...

Update documentation to avoid journeys such as mine in https://github.com/matplotlib/pytest-mpl/issues/223 ;) What do you think?

[py-pytest-mpl-test.log](https://github.com/matplotlib/pytest-mpl/files/9391567/py-pytest-mpl-test.log) Version: 0.16.1 Python-3.9 FreeBSD 13.1

Pytest 8 will use the [new-style hook wrappers](https://pluggy.readthedocs.io/en/stable/#wrappers) so we should add a version check to update the decorator for our `pytest_runtest_call` hooks. See also: https://github.com/pytest-dev/pytest/issues/11714 Also re-enable the pytestdev...

I am currently trying to use the [Solara testing](https://solara.dev/docs/howto/testing) framework to try and do unit/regression testing of the rendering of Jupyter widgets, and I was wishing that I could just...

I reviewed all the configuration options which are used in the code and found quite a few inconsistencies. I have listed proposed fixes for them, separated into breaking and non-breaking...

question

Would we be willing to adopt [pooch](https://github.com/fatiando/pooch) as a more robust way to download remote assets? If there's enough interest for this, then I'm happy to investigate further and see...

In some cases such as: https://output.circle-artifacts.com/output/job/65b009f4-252a-490f-a3da-61cb064aa4e0/artifacts/0/results/fig_comparison.html from https://github.com/astropy/astropy/issues/15029 - the diff doesn't show any changes, but downloading it and stretching it shows a couple of pixels different. I wonder if...

Hello, when we are trying to create a baseline for a unit test that uses a scatter plot, we have noticed that pytest-mpl has not been preserving the colormap used...

Sometimes only one or two images need an increased tolerance, but we can only increase tolerance on the entire test set. I'm not sure how best to indicate it. Maybe...