code: def fetch_localizer_button_task(
      data_dir=None, url=None, verbose=1, legacy_format=True
  ):
      """Fetch left vs right button press :term:`contrast` maps \
         from the localizer.
  
      Parameters
      ----------
      %(data_dir)s
      %(url)s
      %(verbose)s
      %(legacy_format)s
  
      Returns
      -------
      data : Bunch
          Dictionary-like object, the interest attributes are :
  
          - 'cmaps': string list, giving paths to nifti :term:`contrast` maps
          - 'tmap': string, giving paths to nifti :term:`contrast` maps
          - 'anat': string, giving paths to normalized anatomical image
  
      Notes
      -----
      This function is only a caller for the fetch_localizer_contrasts in order
      to simplify examples reading and understanding.
      The 'left vs right button press' contrast is used.
  
      See Also
      --------
      nilearn.datasets.fetch_localizer_calculation_task
      nilearn.datasets.fetch_localizer_contrasts
  
      """
      data = fetch_localizer_contrasts(
          ["left vs right button press"],
          n_subjects=[2],
          get_tmaps=True,
          get_masks=False,
          get_anats=True,
          data_dir=data_dir,
          url=url,
          resume=True,
          verbose=verbose,
          legacy_format=legacy_format,
      )
      # Additional keys for backward compatibility
      data["tmap"] = data["tmaps"][0]
      data["anat"] = data["anats"][0]
      return data
  
imports: import fnmatch
  import glob
  import json
  import numbers
  import os
  import re
  import warnings
  from io import BytesIO
  from pathlib import Path
  import nibabel
  import nibabel
  import numpy
  import pandas
  from scipy.io import loadmat
  from sklearn.utils import Bunch
  from nilearn.image import get_data
  from .._utils import check_niimg, fill_doc
  from .._utils.numpy_conversions import csv_to_array
  from ._utils import fetch_files, fetch_single_file, filter_columns, get_dataset_descr, get_dataset_dir, read_md5_sum_file, tree, uncompress_file
label_desc: Use image node_id 8 for calling a global function with example usage: fetch_localizer_button_task(data_dir, url, verbose, legacy_format) and returns: data