Skip to content

Comments

fix: use min_clip parameter for y-axis lower bound in plot_fst_gwss_track#910

Open
Tanisha127 wants to merge 4 commits intomalariagen:masterfrom
Tanisha127:fix-fst-y-range-721
Open

fix: use min_clip parameter for y-axis lower bound in plot_fst_gwss_track#910
Tanisha127 wants to merge 4 commits intomalariagen:masterfrom
Tanisha127:fix-fst-y-range-721

Conversation

@Tanisha127
Copy link

Summary

This PR fixes the y-axis lower bound handling in plot_fst_gwss_track.

Previously, the lower bound was not correctly using the min_clip parameter.
This change ensures that the y-axis minimum is properly controlled by min_clip.

Changes

  • Updated y-axis lower bound logic
  • Ensured consistency with function parameter min_clip

Testing

  • Verified plot renders correctly
  • Confirmed no unintended changes in output

@Tanisha127
Copy link
Author

Hi, I’ve updated this PR to improve the y-axis ticker logic so that 0 is retained when clip_min is non-zero (using sorted(set([clip_min, 0, 1]))).
Please let me know if any further refinements are needed. Thanks!

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