-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
support images with reversed axes #4338
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transform_func
seems to work fine with this too. Briefly checked with p.transformation.transform_func[] = -
Because that "cell" is bigger: img = [
2 0 0 3;
0 0 0 0;
1 1 0 0;
1 1 0 4
] |
Oh the corners - that's just FXAA doing its thing. It happens in other plots too |
Why does the green tile have pixels in row 3 at the top right (this must mean it intersects those pixels with its fragment) but not at the top left (where it doesn't even have fully opaque pixels in row 4)? That must mean the whole fragment is crooked, no? Shouldn't the green part be a perfect rectangle? |
Oh, this is a regression from the plot attribute refactor I think, we always had |
This is happening for the surface example
I can't tell you what the FXAA shader actually does (some sort of search based on luminosity gradients), but I think that's just a consequence of how much of on color is in the surrounding region. The first green pixel in the top right has 5 white and 4 green fragments in a 3x3, so it'll tend to white. The last green pixel to the right has 3 white, 4 green and 2 purple, so it'll tend to green. |
I just checked, you just dont see it because of |
It might also have some blurring with |
Description
The whole pipeline almost-supported them already, here I just make a few minor fixes where the assumption of increasing values was baked in.
Major update to #3989 following recent image/heatmap changes.
Type of change
Checklist