nl_tokens: Private Methods
pl_tokens: function cleanDomain ( domain , props , axis ) { const scaleType = Scale . getScaleType ( props , axis ) ; if ( scaleType !== "log" ) { return domain ; } const <mask> = ( dom ) => { const almostZero = dom [ 0 ] < 0 || dom [ 1 ] < 0 ? - 1 / Number . MAX_SAFE_INTEGER : 1 / Number . MAX_SAFE_INTEGER ; const domainOne = dom [ 0 ] === 0 ? almostZero : dom [ 0 ] ; const domainTwo = dom [ 1 ] === 0 ? almostZero : dom [ 1 ] ; return [ domainOne , domainTwo ] ; } ; return rules ( domain ) ; }