| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| trans_rad = Affine2D().skew(np.pi / 12, np.pi / 12) | ||
| trans_deg = Affine2D().skew_deg(15, 15) |
There was a problem hiding this comment.
Thinking a bit more, this should probably skew different angles for x and y.
Sorry, something went wrong.
There was a problem hiding this comment.
Talked with @ksunden and decided to use a couple of back-calculated values that produce a reasonable set of results.
Sorry, something went wrong.
This is implicitly tested via all plots and layout. However, this makes it difficult to work on the transform stack directly, which these tests rectify.
There was a problem hiding this comment.
One may consider using match for the error tests, but that was not present in the earlier code anyway, so no point in requiring it here.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR summary
This is implicitly tested via all plots and layout. However, this makes it difficult to work on the transform stack directly (cf #22191), which these tests rectify.
I deliberately chose points/angles that were easy to work out in my head, so hopefully there are not any edge cases that were missed here. (Except for skew, for which I don't have an inherent idea of what that transform looks like, so I admit to just copy-pasting the existing output there.)
PR checklist