code: def prox_l1_with_intercept(x, tau):
      """Return the same as prox_l1, but just for the n-1 components."""
      x[:-1] = prox_l1(x[:-1], tau)
      return x
  
file_path: nilearn/nilearn/decoding/_proximal_operators.py
imports: from math import sqrt
  import numpy
  from ._objective_functions import divergence_id, gradient_id, tv_l1_from_gradient
label_desc: Use image node_id 2 for calling a global function with example usage: prox_l1_with_intercept(x, tau) and returns: x