Skip to content

Commit c76214c

Browse files
committed
no need to hide tick2 and dividers for now
1 parent 4f6ab1e commit c76214c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plots/cartesian/axes.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -2922,7 +2922,10 @@ axes.drawZeroLine = function(gd, ax, opts) {
29222922
zl.attr('transform', opts.transFn)
29232923
.attr('d', opts.path)
29242924
.call(Color.stroke, ax.zerolinecolor || Color.defaultLine)
2925-
.style('stroke-width', Drawing.crispRound(gd, ax.zerolinewidth, ax._gw || 1) + 'px');
2925+
.style('stroke-width', Drawing.crispRound(gd, ax.zerolinewidth, ax._gw || 1) + 'px')
2926+
.style(VISIBLE);
2927+
2928+
hideCounterAxisInsideTickLabels(ax);
29262929
};
29272930

29282931
/**
@@ -3105,10 +3108,7 @@ axes.drawLabels = function(gd, ax, opts) {
31053108
{ K: 'gridline', L: 'path' },
31063109
{ K: 'zeroline', L: 'path' },
31073110
{ K: 'tick', L: 'path' },
3108-
{ K: 'tick', L: 'text' },
3109-
{ K: 'tick2', L: 'text' },
3110-
{ K: 'tick2', L: 'path' },
3111-
{ K: 'divider', L: 'path' }
3111+
{ K: 'tick', L: 'text' }
31123112

31133113
].forEach(function(e) {
31143114
var isX = ax._id.charAt(0) === 'x';

0 commit comments

Comments
 (0)