Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alxsimon committed Jun 30, 2023
1 parent 341fa39 commit a89cf7c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion workflow/envs/popgensim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ dependencies:
- sgkit=0.6.0
- pip
- pip:
- git+https://github.com/alxsimon/py-admixcov.git@fb0e7da
- git+https://github.com/alxsimon/py-admixcov.git@v1.0.0
2 changes: 1 addition & 1 deletion workflow/scripts/main_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
for x in [150, 130, 110, 50, 30, 10]:
_ = axs[k, l].annotate("", xy=(x, 0.1), xytext=(x, 0), arrowprops=dict(arrowstyle="->"))
axs[k, l].set_xlim(times[0] + time_padding, times[-1] - time_padding)
axs[k, l].set_ylabel("Mean ancestry")
axs[k, l].set_ylabel("Mean ancestry proportion")
axs[k, l].set_xlabel("Time (gen. BP)")
axs[k, l].legend(loc="center left")
axs[k, l].set_title('$A$', loc='left', fontdict={'fontweight': 'bold'})
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/plot_europe_uk.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
_ = axs[k, l].axvspan(x1, x2, facecolor='grey', alpha=0.10)
axs[k, l].set_xlim(times[0] + time_padding, times[-1] - time_padding)
axs[k, l].set_ylim(top=1)
axs[k, l].set_ylabel("Mean ancestry")
axs[k, l].set_ylabel("Mean ancestry proportion")
axs[k, l].set_xlabel("Time (years BP)")
axs[k, l].legend(loc='upper center', bbox_to_anchor=(0.5, -0.15), ncol=3)
axs[k, l].set_title("B", loc='left', fontdict={'fontweight': 'bold'})
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/plot_simple_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
ac.plot_ci_line(x=times, CI=Q_CIs[i], ax=axs[0,0], color=colors_oi[i], label=f"Pop{i}", marker='o')
axs[k, l].set_xlim(times[0] + time_padding, times[-1] - time_padding)
axs[k, l].set_ylim((0,1))
axs[k, l].set_ylabel("Mean ancestry")
axs[k, l].set_ylabel("Mean ancestry proportion")
axs[k, l].set_xlabel("Time point")
axs[k, l].legend(loc="upper right")
axs[k, l].set_title('$A$', loc='left', fontdict={'fontweight': 'bold'})
Expand Down

0 comments on commit a89cf7c

Please sign in to comment.