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 automatically computed symlog linear threshold would sometimes cause a crash in matplotlib #3859

Merged
merged 2 commits into from
Mar 30, 2022

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Mar 24, 2022

PR Summary

fix #3858
This solution is directly extracted from my work in #3849, which is much too big for backporting.

Because this changes the rules for how automatic symlog thresholds are computed, I expect that some image tests could need an update.

@neutrinoceros neutrinoceros changed the title BUG: fix a bug where automatically computed symlog linear threshold would sometimesncause a crash in matplotlib BUG: fix a bug where automatically computed symlog linear threshold would sometimescause a crash in matplotlib Mar 24, 2022
@neutrinoceros neutrinoceros changed the title BUG: fix a bug where automatically computed symlog linear threshold would sometimescause a crash in matplotlib BUG: fix a bug where automatically computed symlog linear threshold would sometimes cause a crash in matplotlib Mar 24, 2022
@neutrinoceros neutrinoceros marked this pull request as ready for review March 24, 2022 11:08
@neutrinoceros
Copy link
Member Author

Yup, got two versions of the same image plot (one in cylindrical and the other in spherical geometry) showing a diff, which is absolutely expected. Now waiting for a pre-approval before I can bump the reference images

@BenWibking
Copy link

Thanks! I'll try it out once it's merged into main.

chrishavlin
chrishavlin previously approved these changes Mar 28, 2022
@chrishavlin chrishavlin merged commit 6a053fb into yt-project:main Mar 30, 2022
meeseeksmachine pushed a commit to meeseeksmachine/yt that referenced this pull request Mar 30, 2022
…ted symlog linear threshold would sometimes cause a crash in matplotlib
@neutrinoceros neutrinoceros deleted the hotfix_symlog branch March 30, 2022 15:02
neutrinoceros added a commit that referenced this pull request Mar 30, 2022
…9-on-yt-4.0.x

Backport PR #3859 on branch yt-4.0.x (BUG: fix a bug where automatically computed symlog linear threshold would sometimes cause a crash in matplotlib)
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: invalid auto symlog parameters
3 participants