-
Notifications
You must be signed in to change notification settings - Fork 270
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
sliceplot symlog regression 3.6 - 4.0 #3726
Comments
@zingale this is interesting -- thanks for reporting. @neutrinoceros I believe this may be related to some of your changes; is it possible to verify that? |
@zingale I suspect your local copy is out of date, because your result with the main branch doesn't seem to include #3520 If (I'm running matplotlib 3.5.1, current latest version) |
huh... you're right. I was testing on 3 different machines, and I didn't have the last one updated. The conda version doesn't work, but I guess that's okay,, since the change didn't make it in. Looking at those plots for the minus sign, the 3 changed from a hyphen to a proper minus sign, and now back to a hyphen. Any chance we can fix that and get a proper minus sign back like the middle plot? |
I'll close this issue. Thanks @neutrinoceros |
I think the bugs you saw are indeed in yt 4.0.1, but they'll be fixed in the upcoming 4.0.2 release
I believe this is purely a matter of fonts, #3520 restored the historic style of yt, which was broken with recent versions of matplotlib, so the change back is intentional, in a sense. I don't think we could "fix" this easily without adding a disproportionate amount of technical debt. I think we support changing the font on the user side (I remember some tests were exercising this feature), but I can't find it back. |
ah that's okay then. Thanks for fixing this, and sorry I was out of date. |
Bug report
Bug summary
if I specify a symmetric data range like:
yt 3.6.1 respect that range, and scales the data in it, giving something like this:
Notice that the choice of the colormap was made such that
0
is white -- this is desired for visualizing this data.Here's the output for yt 4.1.dev0
Notice that it ignores the lower data range and instead scales to the data, making white no longer "0"
Code for reproduction
Here's a simple code to make these plots:
Actual outcome
Expected outcome
Version Information
The text was updated successfully, but these errors were encountered: