-
Notifications
You must be signed in to change notification settings - Fork 353
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
added color options in pycbc_inference_plot_posterior function #4264
Conversation
@divyajyoti09 It looks like this fell through the cracks and never got assigned a reviewer. An obvious problem with the PR is that it adds a bunch of C codes that are intermediate products and should not be part of PyCBC. Can these be removed from the PR, and the PR rebased to the current main branch? I've asked @ahnitz and @cdcapano to look at this, but I think the changes to the plotting code make sense and add features. |
@divyajyoti09 Can you address the issues that @spxiwh raised so we can merge the improvements you've made? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good now, and in the absence of any further comments, I'll merge this now. Thanks @divyajyoti09
…ro#4264) * added color options in pycbc_inference_plot_posterior function * added color options for 1D histograms * testing authentication token * cleaning up * bug fix * deleting unnecessary c files
…ro#4264) * added color options in pycbc_inference_plot_posterior function * added color options for 1D histograms * testing authentication token * cleaning up * bug fix * deleting unnecessary c files
…ro#4264) * added color options in pycbc_inference_plot_posterior function * added color options for 1D histograms * testing authentication token * cleaning up * bug fix * deleting unnecessary c files
…ro#4264) * added color options in pycbc_inference_plot_posterior function * added color options for 1D histograms * testing authentication token * cleaning up * bug fix * deleting unnecessary c files
Additional argument added to
pycbc_inference_plot_posterior
function so that in case of multiple injections, the user has the option to choose colors. Default (when that argument is not provided) is to use the existing code, which at the moment chooses colors according to the matplotlib color cycle.