Skip to content

Commit a4cf353

Browse files
committed
Remove useless gap
1 parent 684d2e1 commit a4cf353

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

alldata/bblab_site/tools/isoforms_plot/isoforms_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,9 @@ def draw(self, x=0, y=0, xscale=1.0):
462462

463463
# Draw comment text (to the right of transcript, at same height)
464464
if self.comment:
465-
# Position in logical coordinates: genome end + gap (in logical units)
465+
# Position in logical coordinates: genome end + small gap (in logical units)
466466
# This will be scaled by xscale along with everything else
467-
comment_x = (END_POS + XOFFSET + 100) * xscale
467+
comment_x = (END_POS + XOFFSET + 20) * xscale
468468
# Use middle of transcript for y, and set dominant-baseline to middle for proper centering
469469
comment_y = transcript_y + self.lineheight / 2
470470
d.append(draw.Text(text=self.comment, font_size=self.comment_font_size,

0 commit comments

Comments
 (0)