Skip to content

Commit

Permalink
pairplot refactoring (#1084)
Browse files Browse the repository at this point in the history
* start testing options of plotting function

* Move definition of offdiag_func to get_offdiag_func

* opts to kwargs, offdiag plotting func

* refactor marginal plots

* reformat grid arranger

* reformat pairplot

* 2d plots working

* backwards compatibility

* points are back

* subplots also working again

* first draft of the tutorial

* update notebooks before merge

* plotting tutorial v0

* transposed col and rows fix

* eps xlim fig_kwarg

* precommit

* fix too long lines

* reformat with ruff

* allow overwrite bin heuristic with specified bins

* remove list brackets

* reformat wit ruff

* fix pyright

* ignore pyright errors, fix proposed in #1102

* Checking return types

* Warning-free testing of pairplot

* Added typing (incl return types)

* reformat with rufus..

* start fixing pyright errors appearing with python 3.8

* (Hopefully) fixed all pyright errors

* fix ruff error

* Update sbi/analysis/plot.py

Co-authored-by: Jan <[email protected]>

* Update sbi/analysis/plot.py

Co-authored-by: Jan <[email protected]>

* Update sbi/analysis/plot.py

Co-authored-by: Jan <[email protected]>

* Update sbi/analysis/plot.py

Co-authored-by: Jan <[email protected]>

* Update sbi/analysis/plot.py

Co-authored-by: Jan <[email protected]>

* Update sbi/analysis/plot.py

Co-authored-by: Jan <[email protected]>

* update according to Jan's comments, add kde2d func

* fix long line endings

* add note unused args, update tutorial legends

---------

Co-authored-by: Matthijs <[email protected]>
Co-authored-by: Fabio Muratore <[email protected]>
Co-authored-by: Jan <[email protected]>
  • Loading branch information
4 people authored Apr 29, 2024
1 parent afbd5e7 commit 1fadce3
Show file tree
Hide file tree
Showing 4 changed files with 1,935 additions and 454 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ quote-style = "preserve"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning"
]
testpaths = ["tests"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"gpu: marks tests that require a gpu (deselect with '-m \"not gpu\"')",
Expand Down
Loading

0 comments on commit 1fadce3

Please sign in to comment.