-
Notifications
You must be signed in to change notification settings - Fork 67
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
feat: Adding publication/supplemental info to label #466
Conversation
Thanks for the quick turn-around. Could you run this with this test Line 216 in 048b2b4
I'd say for locs 1-3 the optimal location is obvious, less so for 0,4 |
Thanks! I think for loc=4 the SuppText should go on a new line like in loc=2. For loc=0 I am not sure. Perhaps in-frame or the right edge where the z-axis/cbar label would be. |
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.
Sorry for the delay. Implementation-wise looks good to me. For loc=0
I was rather thinking this could live along the y-axis, outside of the figure like this:
I'd also say the spacing in loc 1,2,3 is a bit tight (in 2,3 this can be seen in the test with some symbols overlaping).
For loc my preference would probably be for the SuppText to be below the xsec information.
What do you think?
@andrzejnovak |
Thanks a lot! I have a last comment, for loc=0 the orientation of the supptext should be flipped (such that if a person turns their head left, they can read both the supptext and y-axis label. Otherwise LGTM |
@yimuchen it looks like the reference image is missing for the test |
Should I generate it from my side? Or should we have some CI process to generate these images to ensure consistency? |
The file should be generated locally and included in the tests/baseline. The CI will then check against it |
Thanks a lot @yimuchen. Let me mint a release. |
* First running version (additional tweaking for text offset is required) * Added test case for publication information * Changing canvas size * Fixed styling for loc 1,3 * Updating styling for loc=0 and 4 * Tighting the distance for loc=1 * Removed unneeded variable * Tweaking positions * Changed direction * Adding reference image --------- Co-authored-by: Andrzej Novak <[email protected]>
loc=2
)loc
/data
combinations