whole_func_string: function cleanDomain(domain, props, axis) {
    const scaleType = Scale.getScaleType(props, axis);
  
    if (scaleType !== "log") {
      return domain;
    }
  
    const rules = (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);
  }
func_code_string: function cleanDomain(domain, props, axis) {
    const scaleType = Scale.getScaleType(props, axis);
  
    if (scaleType !== "log") {
      return domain;
    }
  
    const rules = (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);
  }
func_documentation_string: Private Methods