Skip to content
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

BUG: fix a bug where setting zmin/zmax on a 2D plot with symlog norm would cause an undesired change in linthresh #3888

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Apr 5, 2022

PR Summary

Goal: fix #3887 (without rebreaking #3858)

This patch already works for the intended example script, but I need to test it more before I can remove the draft status.
With this branch, the embedded script in #3887 produces the following image
zmax

which I think is a clear improvement over the current result on main
zmax

though defaults cannot be perfect in every case.

@neutrinoceros
Copy link
Member Author

neutrinoceros commented Apr 6, 2022

I've added tests to make sure we don't see regressions for #3791 and #3858.
I also cleaned up the logic that was a bit rushed last time I touched it (#3859).

@neutrinoceros neutrinoceros marked this pull request as ready for review April 6, 2022 10:26
@matthewturk matthewturk merged commit 71e7237 into yt-project:main Apr 13, 2022
@neutrinoceros neutrinoceros deleted the hotfix_3887 branch April 13, 2022 13:28
@neutrinoceros
Copy link
Member Author

weird that this wasn't auto-backported in the first 10min (it's usually much quicker). Maybe the bot is under a big load right now, I'll try triggering it manually in a couple hours if nothing happens in the interval.

@neutrinoceros
Copy link
Member Author

@meeseeksdev backport to yt-4.0.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: set_zlim does not set vmax as expected
3 participants