Skip to content
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

Merged
merged 10 commits into from
Aug 30, 2023

Conversation

divyajyoti09
Copy link
Contributor

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.

@spxiwh spxiwh requested review from ahnitz and cdcapano July 7, 2023 20:27
@spxiwh
Copy link
Contributor

spxiwh commented Jul 7, 2023

@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.

@ahnitz
Copy link
Member

ahnitz commented Aug 17, 2023

@divyajyoti09 Can you address the issues that @spxiwh raised so we can merge the improvements you've made?

@divyajyoti09
Copy link
Contributor Author

@ahnitz I have removed the unnecessary .c files and synced the fork to upstream as suggested by @spxiwh .

Copy link
Contributor

@spxiwh spxiwh left a 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

@spxiwh spxiwh merged commit c9386a6 into gwastro:master Aug 30, 2023
36 checks passed
GarethCabournDavies pushed a commit to GarethCabournDavies/pycbc that referenced this pull request Oct 11, 2023
…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
PRAVEEN-mnl pushed a commit to PRAVEEN-mnl/pycbc that referenced this pull request Nov 3, 2023
…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
bhooshan-gadre pushed a commit to bhooshan-gadre/pycbc that referenced this pull request Mar 4, 2024
…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
acorreia61201 pushed a commit to acorreia61201/pycbc that referenced this pull request Apr 4, 2024
…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
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.

3 participants