matplotlib / matplotlib/pytest-mpl
Stretch for diff image
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 272
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
In some cases such as:
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 we could stretch the PNGs to maximize the use of the available dynamic range to make it easier to see what is going on in subtle cases like this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linked CircleCI diff from the astropy/astropy issue, then trace pytest-mpl's image-comparison path to find where the PNG diff is generated. Done means subtle pixel differences are visible through the generated diff image without changing the comparison result; the issue names no specific file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100