Open williamjameshandley opened 8 months ago
Attention: Patch coverage is 85.90604%
with 21 lines
in your changes are missing coverage. Please review.
Project coverage is 96.94%. Comparing base (
65e7ec2
) to head (ea8e6e0
).:exclamation: Current head ea8e6e0 differs from pull request most recent head f766620. Consider uploading reports for the commit f766620 to get more accurate results
Files | Patch % | Lines |
---|---|---|
lsbi/stats.py | 48.78% | 21 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
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
)