File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -915,7 +915,6 @@ axes.calcTicks = function calcTicks(ax, opts) {
915915 } else {
916916 ax . minor . _dtickInit = ax . minor . dtick ;
917917 ax . minor . _tick0Init = ax . minor . tick0 ;
918- ax . minor . _ntickInit = ax . minor . ntick ;
919918 }
920919
921920 var mockAx = major ? ax : Lib . extendFlat ( { } , ax , ax . minor ) ;
@@ -1051,11 +1050,11 @@ axes.calcTicks = function calcTicks(ax, opts) {
10511050 }
10521051
10531052 if ( hasMinor ) {
1054- ax . _inOutTicksCanOverlap =
1053+ var canOverlap =
10551054 ( ax . minor . ticks === 'inside' && ax . ticks === 'outside' ) ||
10561055 ( ax . minor . ticks === 'outside' && ax . ticks === 'inside' ) ;
10571056
1058- if ( ! ax . _inOutTicksCanOverlap ) {
1057+ if ( ! canOverlap ) {
10591058 // remove duplicate minors
10601059
10611060 var majorValues = tickVals . map ( function ( d ) { return d . value ; } ) ;
You can’t perform that action at this time.
0 commit comments