Skip to content

Remove the old pairplot path in v0.29 #2218

Open

Description

@dgedon

Towards #1873. #2160 deprecates the old pairplot path: each item below raises a FutureWarning that names v0.29.0.

Remove in v0.29:

  • the **kwargs parameters of pairplot and marginal_plot, the branches that send them to the old implementation, and _warn_deprecated_kwargs
  • pairplot's offdiag parameter and _prepare_upper, with the tests test_pairplot_warns_on_offdiag_argument and test_pairplot_raises_error_on_offdiag_and_upper_conflict
  • pairplot_dep, marginal_plot_dep, their bodies _pairplot_dep and _marginal_plot_dep, and get_diag_func, which only those bodies use
  • PlotOffDiagOptions and its export in sbi/analysis/__init__.py
  • the "plot" branches in get_offdiag_funcs (sbi/analysis/plot.py) and get_default_offdiag_kwargs (sbi/analysis/plotting_classes.py), and plt_plot_2d
  • the "hist2d", "kde2d" and "contourf" aliases in get_offdiag_funcs. pairplot rejects these style names before they are reached.
  • test_pairplot_dep and test_deprecated_plotting_warns_once_at_the_caller in tests/plot_test.py

Keep _get_default_opts, _arrange_plots and update: conditional_pairplot and conditional_marginal_plot use all three, and plot_summary in sbi/analysis/tensorboard_output.py uses _get_default_opts.

Activity

  1. janfb commented on Nov 23, 2026

    @janfb
    Contributor

    this is not an issue to make a PR for at this point @BHARATH0153. It's just to document what will be removed in v0.29.

    and @BHARATH0153 once again, please do not open PRs on issues straight away, please always wait for our OK.

  2. BHARATH0153 commented on Nov 23, 2026

    @BHARATH0153
    Contributor

    @janfb sorry of the pr and I will wait for replay thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions