Skip to content

Commit 47c5773

Browse files
committed
hide out of range inside text labels during redraws
1 parent 91ea2f6 commit 47c5773

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plots/cartesian/axes.js

+4
Original file line numberDiff line numberDiff line change
@@ -2990,6 +2990,10 @@ axes.drawLabels = function(gd, ax, opts) {
29902990
if(isInside) {
29912991
// ensure visible
29922992
thisText.style({ opacity: 100 });
2993+
2994+
if(ax._hideOutOfRangeInsideTickLabels) {
2995+
ax._hideOutOfRangeInsideTickLabels();
2996+
}
29932997
}
29942998
} else {
29952999
var mjWidth = Drawing.bBox(mathjaxGroup.node()).width;

0 commit comments

Comments
 (0)