Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Fix broken inset_locator used with subfigures#24690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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 For your questionhere, 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: |
rcomer commentedDec 12, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 |
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:
|
jklymak commentedDec 12, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@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. |
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. |
issue test runs but fails comparisonupdated styling in test imagebug fix insertedissue test runs but fails comparisonformattingfixed long line linter issues
Closing this as#24783 is a newer version. |
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
pytest
passes)Release Notes
.. versionadded::
directive in the docstring and documented indoc/users/next_whats_new/
.. versionchanged::
directive in the docstring and documented indoc/api/next_api_changes/
next_whats_new/README.rst
ornext_api_changes/README.rst