Skip to content

Commit

Permalink
Removed extra margin from Y1 axis title as at times it overlaps with …
Browse files Browse the repository at this point in the history
…series labels.
  • Loading branch information
michelezanda committed Dec 29, 2021
1 parent df9264f commit 59c186a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/cartesian/axes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ function drawTitle(gd, ax) {
x = ax._offset + ax._length / 2;
y = (ax.side === 'top') ? pos - titleStandoff : pos + titleStandoff;
} else {
y = ax._offset + ax._length / 2;
y = ax._length / 2;
x = (ax.side === 'right') ? pos + titleStandoff : pos - titleStandoff;
transform = {rotate: '-90', offset: 0};
}
Expand Down

0 comments on commit 59c186a

Please sign in to comment.