Skip to content
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

Label for CMS other non-public work #504

Open
JaLuka98 opened this issue Jun 9, 2024 · 2 comments
Open

Label for CMS other non-public work #504

JaLuka98 opened this issue Jun 9, 2024 · 2 comments

Comments

@JaLuka98
Copy link

JaLuka98 commented Jun 9, 2024

According to the CMS CAT Guidelines for figures, Other non-public work should be labelled as either "Private work (CMS data/simulation)", "Private work (CMS data)" or "Private work (CMS simulation)" depending on the inputs for the Figure. This means that the usual mplhep functions, such as hep.cms.label or hep.cms.txt are not working for this use case because they include the bold "CMS" in front (at least I did not manage to turn it off). Is there another easy way to achieve this label or would a new function or functionality be necessary?

FYI @clelange

@andrzejnovak
Copy link
Member

Yeah, I think this will require a new functionality. The right way probably would be a new hep.generic.label inheriting from https://github.com/scikit-hep/mplhep/blob/master/src/mplhep/label.py#L19 which won't have any of the relative position from ExpText adjustments.

Would you like to take a stab at this?

@JaLuka98
Copy link
Author

Yeah, I think this will require a new functionality. The right way probably would be a new hep.generic.label inheriting from https://github.com/scikit-hep/mplhep/blob/master/src/mplhep/label.py#L19 which won't have any of the relative position from ExpText adjustments.

Would you like to take a stab at this?

I can certainly give it a try, but not during the rush for ICHEP now. Let me make a note on this and try it when I have the time, otherwise I let you know. Thanks for the pointer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants