class_docstr: A value range description.
docstr: Create a slightly enlarged value range for approximate checks.
docstr_tok: ["Create","a","slightly","enlarged","value","range","for","approximate","checks","."]
code: def approximate(self, epsilon: float) -> "ValueRange":
      """Create a slightly enlarged value range for approximate checks."""
      return ValueRange(
          lower=self.lower
          if self.lower is None
          else self.lower - epsilon,
          lower_inclusive=self.lower_inclusive,
          upper=self.upper
          if self.upper is None
          else self.upper + epsilon,
          upper_inclusive=self.upper_inclusive,
      )
  
imports: from dataclasses import dataclass
  from typing import ClassVar, Collection, Optional
  import numpy
  from docdata import get_docdata
  from scipy import stats
  from ..utils import ExtraReprMixin, camel_to_snake
label_desc: Use image node_id 2 for calling the ValueRange obj's underlying member method code with example usage: obj.approximate(epsilon) and returns: ValueRange