Skip to content

Commit faebe60

Browse files
committed
reassign this compatible with flat-pack and polar
1 parent 3c5d238 commit faebe60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1787,7 +1787,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
17871787
var anchor = labelanchor(angle, d);
17881788
var thisLabel = d3.select(this),
17891789
mathjaxGroup = thisLabel.select('.text-math-group'),
1790-
transform = transfn(d) +
1790+
transform = transfn.call(thisLabel.node(), d) +
17911791
((isNumeric(angle) && +angle !== 0) ?
17921792
(' rotate(' + angle + ',' + labelx(d) + ',' +
17931793
(labely(d) - d.fontSize / 2) + ')') :

0 commit comments

Comments
 (0)