-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
anesthetic style plotting functions #35
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #35 +/- ##
===========================================
- Coverage 100.00% 96.94% -3.06%
===========================================
Files 6 7 +1
Lines 546 688 +142
===========================================
+ Hits 546 667 +121
- Misses 0 21 +21 ☔ View full report in Codecov by Sentry. |
…it generous error bars
These changes allowed slides from these talks to be created: - [PhyStat](https://github.com/williamjameshandley/talks/tree/imperial_2024) - [cosmoverse](https://github.com/williamjameshandley/talks/tree/cosmoverse_2024)
0874796
to
7b26ed0
Compare
Description
This PR implements anesthetic-style plotting functionality.
There is a new set of functions in:
These mirror e.g.
anesthetic.plot.contour_plot_2d
, but instead plot exact marginal pdfs.This is then linked into
lsbi.dist
functionality vialsbi.multivariate_normal.plot_1d
(and the same for 2d and mixture_normal).As a fun example, it allows you to plot things like this:
Checklist:
black . --check
)isort . --profile black --filter-files
)pydocstyle --convention=numpy lsbi
)python -m pytest
)