Skip to content

Commit c59fcd9

Browse files
committed
clear function to hide inside tick labels and ensure subplot
1 parent c87cda6 commit c59fcd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plots/cartesian/axes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3015,7 +3015,8 @@ axes.drawLabels = function(gd, ax, opts) {
30153015
});
30163016
}
30173017

3018-
if((ax.ticklabelposition || '').indexOf('inside') !== -1) {
3018+
ax._hideOutOfRangeInsideTickLabels = undefined;
3019+
if((ax.ticklabelposition || '').indexOf('inside') !== -1 && ax._subplotsWith) {
30193020
ax._hideOutOfRangeInsideTickLabels = function() {
30203021
// hide inside tick labels that go outside axis end points
30213022

0 commit comments

Comments
 (0)