-
Notifications
You must be signed in to change notification settings - Fork 16
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
Different shades colours appearing in panels of the same triangle plot #147
Comments
This here is a feature rather than a bug. On the GitHub frontpage README.rst:
The idea is that the colour dependency on height encourages you to intepret the nearly flat contours as being less tapered. If the 2-sigma contours were coloured lighter regardless of the height of the contour, then the eye can interpret that region as being more excluded than it is. |
Oh thanks for explaining this! I didn't realize what that meant but now that you say it I see that this refers to this effect. So do I understand this correctly, the lines refer to the confidence limit as in
and the color refers to the average posterior/pdf in the region?
I am not sure about the 2nd one / how exactly the color "in relation to the probability density" is defined |
The color refers to the value of the iso-probability density contour (relative to the maximum). Basically it's a |
Describe the bug
When plotting contours with
samples.plot_2d
, in some cases the colours have different shades of Blue, but I would expect all the 68% regions to have the same colour.To Reproduce
I didn't figure out under what conditions this happens. It does when I use my data:
The central panel is a darker blue which is confusing. It doesn't seem to occur with simple toy data though. Same with the new feature from #145:
Here the colours seem all over the place.
Expected behavior
All 68% contours should be the same dark blue, and all 95% contours the same light blue. Like in this toy model:
Additional context
dynesty
Edit: It does not seem to always occur with dynesty and jupyter-notebook either, this toy model produces results as expected:
Do you have any idea where this comes from or how I can debug this?
The text was updated successfully, but these errors were encountered: