Remove the old pairplot path in v0.29
Maintainers usually reply within 6 days
Nobody has claimed this yet.
- #2221 by @BHARATH0153 — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- data-visualization
Research direction
Start with sbi/analysis/plot.py and sbi/analysis/plotting_classes.py, then sbi/analysis/__init__.py, and check which of the listed symbols are still referenced. Work through the checklist, keeping _get_default_opts, _arrange_plots and update, then run tests/plot_test.py after removing test_pairplot_dep and test_deprecated_plotting_warns_once_at_the_caller. Done means the listed symbols and tests are gone and the plotting tests still pass.
Written by the indexing model from the issue text.
Description
Towards #1873. #2160 deprecates the old pairplot path: each item below raises a FutureWarning that names v0.29.0.
Remove in v0.29:
- the
**kwargsparameters ofpairplotandmarginal_plot, the branches that send them to the old implementation, and_warn_deprecated_kwargs -
pairplot'soffdiagparameter and_prepare_upper, with the teststest_pairplot_warns_on_offdiag_argumentandtest_pairplot_raises_error_on_offdiag_and_upper_conflict -
pairplot_dep,marginal_plot_dep, their bodies_pairplot_depand_marginal_plot_dep, andget_diag_func, which only those bodies use -
PlotOffDiagOptionsand its export insbi/analysis/__init__.py - the
"plot"branches inget_offdiag_funcs(sbi/analysis/plot.py) andget_default_offdiag_kwargs(sbi/analysis/plotting_classes.py), andplt_plot_2d - the
"hist2d","kde2d"and"contourf"aliases inget_offdiag_funcs.pairplotrejects these style names before they are reached. -
test_pairplot_depandtest_deprecated_plotting_warns_once_at_the_callerintests/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.
- Dominant language
- Python
- Stars
- 894
- Forks
- 306
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 61
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sbi-dev/sbi
-
simulate_for_sbi(num_simulations=0) returns 1D empty theta/x tensors and breaks append_simulationsOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sbi-dev/sbi#2310 · 3 comments ·
Maintainers usually reply within 6 days
-
bug: RestrictionEstimator.train(subsample_invalid_sims="auto") raises TypeErrorPossibly taken @Nitesh780 claimed this 2 days ago. Openbug
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
sbi-dev/sbi#2309 · 1 comment ·
Maintainers usually reply within 6 days
-
TARP reference sampling fails when a parameter coordinate is fixedPossibly taken @Jayant-kernel claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
sbi-dev/sbi#2264 · 2 comments ·
Maintainers usually reply within 6 days
-
fix: broadcast UniformNormalConvolution batch shapePossibly taken @studentarijitpaul claimed this 32 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
sbi-dev/sbi#2151 · 2 comments ·
Maintainers usually reply within 6 days
-
bug
sbi-dev/sbi#2321 · 1 comment ·
Maintainers usually reply within 6 days
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day