code: def _revcmap(data):
      data_r = {}
      for key, val in data.items():
          data_r[key] = [
              (1.0 - x, y1, y0) for x, y0, y1 in reversed(val)
          ]
      return data_r
  
file_path: nilearn/nilearn/plotting/cm.py
imports: import numpy
  from matplotlib import cm, colors, rcParams
label_desc: Use image node_id 6 for calling a global function with example usage: _revcmap(data) and returns: data_r