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 |
| dependencies = [ | ||
| "pymatgen>=2024.10.22", | ||
| "numpy<3.0.0", | ||
| "typing", |
There was a problem hiding this comment.
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: