Skip to content

Add plot_density option to plot_corner_multi#220

Open
stephengreen wants to merge 4 commits into
mainfrom
add-plot-density-option
Open

Add plot_density option to plot_corner_multi#220
stephengreen wants to merge 4 commits into
mainfrom
add-plot-density-option

Conversation

@stephengreen

Copy link
Copy Markdown
Member

This is useful for when plotting posteriors with different numbers of samples. Internally it redefines the weight arrays to have unit sum.

@nihargupte-ph nihargupte-ph left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried it on a couple posteriors, seems to work fine. However, for cases where there are an uneven number of samples there is some discrepancy:
image

@stephengreen

Copy link
Copy Markdown
Member Author

Based on your comment @nihargupte-ph it sounds like this PR does not fix the plotting issue?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants