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

change back to original matplotlib backend #640

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

sshen8
Copy link
Contributor

@sshen8 sshen8 commented Apr 23, 2024

When using the UMI-tools API only, I noticed it switches my Matplotlib backend to Agg, which messes with the plots I generate downstream. This PR changes the backend only when generating plots and then switches back to the user's original setting

@TomSmithCGAT
Copy link
Member

Thank you @sshen8. This looks like how I should have implemented it in the first place!

@IanSudbery - I'll merge this once tests pass.

@sshen8
Copy link
Contributor Author

sshen8 commented Apr 24, 2024

Yeah that's a good idea! I've just made the change, thanks for thinking of it

@IanSudbery
Copy link
Member

@TomSmithCGAT Happy once the tests complete.

@TomSmithCGAT TomSmithCGAT merged commit 9ce3a70 into CGATOxford:master Apr 24, 2024
3 checks passed
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.

3 participants