-
Notifications
You must be signed in to change notification settings - Fork 66
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: top right corner position, inside the frame, with loc=5 parameter #423
base: main
Are you sure you want to change the base?
Conversation
Welcome @asantra. Can you add it to the test https://github.com/scikit-hep/mplhep/blob/master/tests/test_styles.py#L216 ? I am a bit curious how the alignment will look like. |
Hi @andrzejnovak Best, |
Please add the updated test image as well CONTRIBUTING.md (don't add the unchanged images, git likes to flag them as different) |
Hi @andrzejnovak , The new style is shown in the sixth frame (bottom right). Best, |
Sorry about the broken GHA reporting, a fix should already be on the way pytest-dev/pytest-github-actions-annotate-failures#70. Checking the repo out locally it seems there are font differences. If you run pytest locally on master, do you get passing tests? |
Hi @andrzejnovak ,
I think that most of the tests are skipped because I am not using a linux system. Best, |
What about the test tests in Note if you ran with the generate option, you might already have new "reference" files produced with the local font, so the tests won't fail locally. You can run a specific function in pytest with |
Hi @andrzejnovak ,
Here is the full output: It seems like some software mismatch in my system. Best, |
The errors you're getting now are about a recently merged PR, can you rebase on master and try again? |
Hi @andrzejnovak , . Still, I am getting the same set of errors are before: I will appreciate if you help me out here. Best, |
Hi @asantra , apologies for the delay: can you locally rebase on master (or merge?). Do you need any help with that? If you've done that, can you push, so that we see all the changes in the PR |
Addition of loc parameter value 5.
If loc=5, the experiment label and lumi text are plotted on the top right-hand side, inside the plot frame.