For some tests, the parameter object .sets attr is updated. We need to update the attr directly and not the existing list value because it affects the DEFAULT_SETS list too, which causes tests failures
Update _squeeze_time_dim to only squeeze time dimensions if len is 1
Make metrics_dict an optional arg passed to plot_func in plot.plot()
Checklist
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
If applicable:
[x] New and existing unit tests pass with my changes (locally and CI/CD build)
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)
Description
.sets
attr is updated. We need to update the attr directly and not the existing list value because it affects theDEFAULT_SETS
list too, which causes tests failures_squeeze_time_dim
to only squeeze time dimensions if len is 1metrics_dict
an optional arg passed toplot_func
inplot.plot()
Checklist
If applicable: