code: def log_interpolate_1d(x, xp, *args, **kwargs):
      r
      fill_value = kwargs.pop('fill_value', np.nan)
      axis = kwargs.pop('axis', 0)
      log_x = np.log(x)
      log_xp = np.log(xp)
      return interpolate_1d(log_x, log_xp, *args, axis=axis, fill_value=fill_value)