Closed trevorb1 closed 4 months ago
The seaborn warning shown below was resolved by upgrading to seaborn 0.13.2
/home/trevor/miniconda3/envs/pypsa-usa/lib/python3.11/site-packages/seaborn/_oldcore.py:1075: FutureWarning:
When grouping with a length-1 list-like, you will need to pass a length-1 tuple to get_group in a future version of pandas. Pass `(name,)` instead of `name` to silence this warning.
Ahh, but upgrading breaks other plots. Il keep at 0.12.2
for now.
Updating seaborn version to 0.13.2
fixes the issue and doesn't cause an error as previously mentioned.
Feature Request
We get a lot of warnings in the summary/plotting section of the workflow. Best be good to address these to try our best to avoid dependency hell! haha
Suggested Solution
Where possible, it may make sense to switch to pypsa implementation of accessing statistics so they can handle those warnings.
Additional Info
Here is the warnings I currently get: