| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hi @matt256, thanks for the PR and welcome to Matplotlib! It looks like, since you created your branch, there have been some changes on the main branch within the same file you edited. So you will need to rebase and fix some conflicts, following the instructions here: For your question here, you will see a failure in our tests having both added and replaced an image in the same PR. To fix that, you will need to squash the commits down to one. There are instructions for that here: |
Sorry, something went wrong.
|
Hi @matt256, it looked like your branch got into a bit of a tangle. I thought it might be difficult to guide you through fixing that so, I hope you don't mind, I just pushed a change myself. While I was there, I also dropped your last two commits, as it looked like you used black or a similar auto-formatter on the test file. This created a lot of changes that were not relevant to the problem you are solving so would have made it harder to review. Matplotlib has made a conscious decision to not use black, so formatting needs to be fixed manually. See here for how to check the formatting at the command line. |
Sorry, something went wrong.
|
Hi @rcomer, thanks for you help and digging me out of my hole. You are correct. I got a bit turned around, and I did use black. I'll see if I can get these issues resolved this evening with your guidance on flake8 and then go ahead and get it squashed to get the other error to go away. couple quick questions, though:
|
Sorry, something went wrong.
|
@matt256 - the default styles all changed with Matplotlib 2.0, but the tests still default to the old style so we did not need to regenerate the images. New test should usually use the up-to-date style: e.g. @image_comparison(['contour_hatching'], remove_text=True, style='mpl20') |
Sorry, something went wrong.
|
Please update the title of this PR; it is currently auto-generated from your branch name, but it is not very clear what it is for someone looking at notifications/the list of PRs. |
Sorry, something went wrong.
issue test runs but fails comparison updated styling in test image bug fix inserted issue test runs but fails comparison formatting fixed long line linter issues
|
Closing this as #24783 is a newer version. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Addresses the bug report #24589
From report:
Implemented the proposed resolution and wrote a unit test that validates the image referenced in the bug report is generated properly
PR Checklist
Documentation and Tests
Release Notes