Skip to content

Commit

Permalink
Move x label slightly to avoid truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuBarba committed Mar 25, 2024
1 parent 5f4e9a3 commit 11d1d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dotplot.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ function draw_plot() {
.attr("class", "x label")
.attr("text-anchor", "middle")
.attr("x", (win_width - margin.left - margin.right) / 2 + margin.left)
.attr("y", win_height)
.attr("y", win_height - 4)
.text( cached_genomes.genomes[ get_par( 'sp1' ) ].name );
texts.append("text")
.attr("class", "y label")
Expand Down

0 comments on commit 11d1d1d

Please sign in to comment.