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

Qqplot 2sample #138

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Qqplot 2sample #138

merged 1 commit into from
Feb 13, 2024

Conversation

daikitag
Copy link
Collaborator

Add density plots when plotting qqplots to compare two data.

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (44169f6) 100.00% compared to head (7004b8a) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #138   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          342       342           
  Branches        48        48           
=========================================
  Hits           342       342           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

verification.py Outdated
@@ -71,6 +71,18 @@ def _plot_qq_compare(self, data1, data1_name, data2, data2_name):
pyplot.savefig(f, dpi=72)
pyplot.close("all")

sns.kdeplot(data1, color="b", fill=True, legend=False)
Copy link
Member

Choose a reason for hiding this comment

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

Could these be shown on the same axes in different colours? The point is to compare the distributions, right?

Add density plots when plotting qqplots to compare two data.
@mergify mergify bot merged commit a58e886 into tskit-dev:main Feb 13, 2024
12 checks passed
@daikitag daikitag deleted the qqplot_2sample branch February 13, 2024 13:22
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