-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
matplotlib
use non-interactive agg backend
#349
Conversation
No this is not right, as running tests locally would behave differently than through GH action, would fix this later |
I realized the original method might be the best I could do so far. If we were to export the env var from the test workflow config file However I believe having that
[tool.pytest_env]
HOME = "~/tmp"
RUN_ENV = 1 |
@@ -31,7 +31,6 @@ requires-python = ">=3.10,<3.13" | |||
dependencies = [ | |||
"pymatgen>=2024.10.22", | |||
"numpy<3.0.0", | |||
"typing", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we don't need to install typing
now, it's built in from 3.5:
Added in version 3.5.
Hi @DanielYang59 , before we merge, can you please provide a bit more context on why this change is needed and what are the issues when we don't have this? I am not that familiar with lot of what matplotlib has to offer. So just want to understand bit better 😄 And thanks in anycase for this PR |
Absolutely, I owe you an explanation here:
|
Thanks @DanielYang59 |
No problem thanks for reviewing |
Fix a previously added parameter as the original comment is a bit misleading, agg is the recommended non-interactive backend: