code: def test_singleton_ax_dim(affine_eye):
      for axis, direction in enumerate("xyz"):
          shape = [5, 6, 7]
          shape[axis] = 1
          img = nibabel.Nifti1Image(np.ones(shape), affine_eye)
          find_cut_slices(img, direction=direction)
  
file_path: nilearn/nilearn/plotting/tests/test_find_cuts.py
imports: import nibabel
  import numpy
  import pytest
  from nilearn.masking import compute_epi_mask
  from nilearn.plotting.find_cuts import _transform_cut_coords, find_cut_slices, find_parcellation_cut_coords, find_probabilistic_atlas_cut_coords, find_xyz_cut_coords
label_desc: Use image node_id 5 for calling a global function with example usage: test_singleton_ax_dim(affine_eye) without return types