nl_tokens: get a scale with logic for the x and y axis if the domain starts and finishes on the same number returns the mid range value
pl_tokens: function getBaseScales ( type , <mask> , range , nice , tickCount ) { const factory = ( type === 'time' && scaleUtc ) || ( type === 'log' && scaleLog ) || scaleLinear const scale = createScale ( factory , domain , range ) if ( nice ) scale . nice ( tickCount ) return scale }