-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Allow Tuple{Bool, Bool} for xtrimspine and ytrimspine. #2171
Conversation
Can someone point me to how I would implement a test for this? |
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.
Looks good, thanks. For a test, have a look at how the other visual reference tests are implemented and just make a similar one where you have each combination of trims in a couple Axes in a GridLayout. Make the spine width thick so the visual differ would pick up on any changes.
I'll add a test so we can get this merged |
Closed in favor of #2279 |
* Allow Tuple{Bool, Bool} for xtrimspine and ytrimspine. * add entry to NEWS.md * Update NEWS.md * add test and fix reversed axis case Co-authored-by: Marc Pabst <github@marcpabst.com> Co-authored-by: Simon <sdanisch@protonmail.com>
Description
Fixes #2169
Allows to pass both a
Bool
and aTuple{Bool, Bool}
forxtrimspine
andytrimspine
.Type of change
Delete options that do not apply:
Checklist