code: def get_colormap(name, num_bins=256):
      """Lazily initializes and returns a colormap."""
      if name == "turbo":
          return _TURBO_COLORS
  
      return _build_colormap(name, num_bins)
  
file_path: nerfies/nerfies/visualization.py
imports: import functools
  from matplotlib import cm
  from matplotlib.colors import LinearSegmentedColormap
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: get_colormap(name, num_bins) and returns: _build_colormap, _TURBO_COLORS