code: def _kde_support(bin_range, bw, gridsize, cut, clip):
      
      kmin, kmax = bin_range[0] - bw * cut, bin_range[1] + bw * cut
      if isfinite(clip[0]):
          kmin = max(kmin, clip[0])
      if isfinite(clip[1]):
          kmax = min(kmax, clip[1])
      return np.linspace(kmin, kmax, gridsize)
docs: Establish support for a kernel density estimate.