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

Imrprove label plotting code #271

Open
jordandsullivan opened this issue Feb 27, 2025 · 0 comments
Open

Imrprove label plotting code #271

jordandsullivan opened this issue Feb 27, 2025 · 0 comments
Labels
feature New feature or request good first issue Good for newcomers infrastructure Non-quantum things to improve the robustness of our package, e.g. CI/CD

Comments

@jordandsullivan
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The labels in our benchmarking plots, which show the compiler name and version, can get very messy:
image
and our current plotting code has a lot of fiddly adjustments involved, which often fail to converge.

Describe the solution you'd like
Modify the code so that the labels successfully plot without overlapping. Because the current code is pretty unwieldy, it may help to break it out into a separate module outside of ucc/benchmarks/scripts/common.py.

We should probably test out this package, which is meant to automate text placement to minimize overlaps: https://github.com/Phlya/adjustText.

Describe alternatives you've considered
There may be other tools or packages which could do this, but I have mainly focused on options involving matplotlib annotations.

Additional context
Our benchmark plots are an important part of transparency for our project, and making them clear and legible is a necessity.

@jordandsullivan jordandsullivan added feature New feature or request infrastructure Non-quantum things to improve the robustness of our package, e.g. CI/CD good first issue Good for newcomers labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers infrastructure Non-quantum things to improve the robustness of our package, e.g. CI/CD
Projects
None yet
Development

No branches or pull requests

1 participant