code: def from_coeff(self, chebcoeff, domain=None, prune=True, vscale=1.):
          
          coeffs = np.asarray(chebcoeff)
          if prune:
              N = self._cutoff(coeffs, vscale)
              pruned_coeffs = coeffs[:N]
          else:
              pruned_coeffs = coeffs
          values = self.polyval(pruned_coeffs)
          return self(values, domain, vscale)
docs: Initialise from provided coefficients
          prune: Whether to prune the negligible coefficients
          vscale: the scale to use when pruning