Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Jan 25, 2025
1 parent 72f7a3a commit b74b29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jcvi/projects/sugarcane.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,8 @@ def modify_range_end(d: dict, value: int):
["right", "left"] * 4,
):
# Offset some text to avoid overlapping
if abs(SS_peak - SO_peak) < 15 and xpos == SO_peak:
xpos -= 11
if abs(SS_peak - SO_peak) < 16 and xpos == SO_peak:
xpos -= 12
PAD = 1 if single else 0.25
if ha == "left":
xpos -= PAD
Expand Down

0 comments on commit b74b29a

Please sign in to comment.