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

Update the default plotting style #245

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Update the default plotting style #245

merged 1 commit into from
Oct 15, 2024

Conversation

amete
Copy link
Collaborator

@amete amete commented Oct 7, 2024

It looks like matplotlib renamed the built-in (and outdated) seaborn styles (see matplotlib/pull/22317) in the newer releases. With this PR, the plotting script first checks if the style equivalent to what we were using exists and if so we use it. Otherwise we don't do anything special.

Closes #244

Copy link
Contributor

@chrisburr chrisburr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amete 😄

@graeme-a-stewart sorry to pester but could you tag a release with this so it can be picked up by conda-forge?

@amete amete merged commit 109ba4a into main Oct 15, 2024
7 checks passed
@amete
Copy link
Collaborator Author

amete commented Oct 15, 2024

I exceptionally self-merged this PR since it's a rather straightforward change that is needed by LHCb.

@amete
Copy link
Collaborator Author

amete commented Oct 15, 2024

@chrisburr, we just released a new tag/release @ https://github.com/HSF/prmon/releases/tag/v3.1.1. It probably should've been a new minor release instead of a patch but that practically doesn't make much difference. Let us know how this looks.

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

Successfully merging this pull request may close these issues.

prmon_plot.py by default requests packages which are not needed
2 participants