Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2dbebf1

Browse files
committed
adjustments
1 parent 9a8c6fd commit 2dbebf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

draftlogs/6889_fix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
- Fix standoff position [[#6889](https://github.com/plotly/plotly.js/pull/6889)],
1+
- Fix standoff position [[#6889](https://github.com/plotly/plotly.js/pull/6889), [#6914](https://github.com/plotly/plotly.js/pull/6914)],
22
with thanks to @ayjayt for the contribution!

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2898,7 +2898,7 @@ function calcLabelLevelBbox(ax, cls, mainLinePositionShift) {
28982898
});
28992899
} else {
29002900
var dummyCalc = axes.makeLabelFns(ax, mainLinePositionShift);
2901-
top = bottom = dummyCalc.yFn({dx: 0, dy: 0, fontSize: 0}); // I don't know what dx, dy is
2901+
top = bottom = dummyCalc.yFn({dx: 0, dy: 0, fontSize: 0});
29022902
left = right = dummyCalc.xFn({dx: 0, dy: 0, fontSize: 0});
29032903
}
29042904

0 commit comments

Comments
 (0)