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

Ks plots without divergence lines have inner legend #4

Merged
merged 12 commits into from
Mar 25, 2021

Conversation

Cecilia-Sensalari
Copy link
Collaborator

When the adjustment table is not available (yet), the output figure only shows the paralog Ks distribution without divergence lines. The legend is now placed inside the axis instead of outside. This is done for the "normal" mixed plot, for the anchor cluster plot, for the exp-log plot and for the log-only plot.

Copy link
Contributor

@lohausr lohausr left a comment

Choose a reason for hiding this comment

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

I have posted the changed code to remove the right margin in the comments to fc_plotting.py.

ksrates/fc_plotting.py Outdated Show resolved Hide resolved
ksrates/fc_plotting.py Outdated Show resolved Hide resolved
@Cecilia-Sensalari
Copy link
Collaborator Author

  • matplotlib >= 3.3.3 for correct positioning of simple plot suptitle
  • removed the line of code that I used to reduce the y-axis height because v3.3.3 fixes this issue

@lohausr
Copy link
Contributor

lohausr commented Mar 22, 2021

Looks good to me now!

@Cecilia-Sensalari Cecilia-Sensalari merged commit 907afe3 into master Mar 25, 2021
@Cecilia-Sensalari Cecilia-Sensalari deleted the unadjusted_plot branch March 25, 2021 15:56
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