Follow-up to #1425, which PR #1631 largely delivered. These are the concrete items that survive, each small and independent:
prepare_for_plot compares limits == [], which is wrong for a np.ndarray. Use a length check, and align the pairplot / marginal_plot type hints. Needs a regression test.
- Warn or raise on unrecognised keys in
diag_kwargs, upper_kwargs and lower_kwargs. A typo is currently silent.
sbi/analysis/plot.py:1336 points readers at _get_default_fig_kwargs(), and the deprecation message at plot.py:2862 tells them to use it. That function does not exist. Only _get_default_opts is defined, at plot.py:2860.
Follow-up to #1425, which PR #1631 largely delivered. These are the concrete items that survive, each small and independent:
prepare_for_plotcompareslimits == [], which is wrong for anp.ndarray. Use a length check, and align thepairplot/marginal_plottype hints. Needs a regression test.diag_kwargs,upper_kwargsandlower_kwargs. A typo is currently silent.sbi/analysis/plot.py:1336points readers at_get_default_fig_kwargs(), and the deprecation message atplot.py:2862tells them to use it. That function does not exist. Only_get_default_optsis defined, atplot.py:2860.