-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix streamline plotting from upper edges of grid #21859
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fb9289b
to
9a55610
Compare
The fixed bug is illustrated rather nicely in the new test image! |
9a55610
to
1b2d02e
Compare
Yes, the image does a good job, but given that we have indexing errors like this, would you consider starting from the other edges as well? |
As in adding streamlines drawn from around the edges to the figure test? |
Yep, just some more lines. |
1b2d02e
to
a114e78
Compare
👍 done. Is it worth getting rid of the pdf and svg test images at the same time too? |
I would unless we are testing something with them. |
One of the dots doesn't have a line. Is that expected because it is close to an existing line? |
a114e78
to
f64c99d
Compare
Yes, that's correct. I've removed the pdf/svg images, and also removed the tolerance that was on this test before to see if we can do without it. |
…859-on-v3.5.x Backport PR #21859 on branch v3.5.x (Fix streamline plotting from upper edges of grid)
PR Summary
Fixes #21649. See the added comment for info and motivation.
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).