code: def test_nifti_labels_masker_report_cut_coords(
      masker_class, input_parameters, data_img_3d
  ):
      """Test cut coordinate are equal with and without passing data to fit."""
      masker = masker_class(**input_parameters, reports=True)
      # Get display without data
      masker.fit()
      display = masker._reporting()
      # Get display with data
      masker.fit(data_img_3d)
      display_data = masker._reporting()
      assert display[0].cut_coords == display_data[0].cut_coords
  
imports: from collections import Counter
  import numpy
  import pytest
  from nibabel import Nifti1Image
  from numpy.testing import assert_almost_equal
  from nilearn._utils.data_gen import generate_fake_fmri, generate_labeled_regions, generate_maps, generate_random_img
  from nilearn.image import get_data, new_img_like
  from nilearn.maskers import MultiNiftiLabelsMasker, MultiNiftiMapsMasker, MultiNiftiMasker, NiftiLabelsMasker, NiftiMapsMasker, NiftiMasker, NiftiSpheresMasker
label_desc: Use image node_id 21 for calling a global function with example usage: test_nifti_labels_masker_report_cut_coords(masker_class, input_parameters, data_img_3d) without return types